Skip to content

Commit 6d54dc0

Browse files
authored
Remove Task.Delay from mongodb tests (#9250)
1 parent 934d3b7 commit 6d54dc0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/Aspire.Hosting.MongoDB.Tests/MongoDbFunctionalTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ await pipeline.ExecuteAsync(async token =>
179179
}
180180
else
181181
{
182-
//mongodb shutdown has delay,so without delay to running instance using same data and second instance failed to start.
183-
await Task.Delay(TimeSpan.FromSeconds(10));
184182
mongodb2.WithDataBindMount(bindMountPath!);
185183
}
186184

0 commit comments

Comments
 (0)