Skip to content

Commit edf2a0d

Browse files
committed
Add delay
1 parent 9d573cb commit edf2a0d

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

tests/Aspire.Hosting.Oracle.Tests/OracleFunctionalTests.cs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ public async Task VerifyEfOracle()
4646

4747
await app.WaitForTextAsync(DatabaseReadyText, cancellationToken: cts.Token);
4848

49+
await Task.Delay(10_000);
50+
4951
var hb = Host.CreateApplicationBuilder();
5052

5153
hb.Configuration[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default);
@@ -80,7 +82,7 @@ public async Task VerifyEfOracle()
8082
}
8183

8284
[Theory]
83-
[InlineData(true)]
85+
[InlineData(true, Skip = "DEBUGGING")]
8486
[InlineData(false, Skip = "https://github.com/dotnet/aspire/issues/5191")]
8587
[RequiresDocker]
8688
public async Task WithDataShouldPersistStateBetweenUsages(bool useVolume)
@@ -139,6 +141,8 @@ public async Task WithDataShouldPersistStateBetweenUsages(bool useVolume)
139141

140142
await app.WaitForTextAsync(DatabaseReadyText, cancellationToken: cts.Token);
141143

144+
await Task.Delay(10_000);
145+
142146
try
143147
{
144148
var hb = Host.CreateApplicationBuilder();
@@ -199,6 +203,8 @@ public async Task WithDataShouldPersistStateBetweenUsages(bool useVolume)
199203

200204
await app.WaitForTextAsync(DatabaseReadyText, cancellationToken: cts.Token);
201205

206+
await Task.Delay(10_000);
207+
202208
try
203209
{
204210
var hb = Host.CreateApplicationBuilder();
@@ -253,8 +259,8 @@ public async Task WithDataShouldPersistStateBetweenUsages(bool useVolume)
253259
}
254260
}
255261

256-
[Theory]
257-
[InlineData(true)]
262+
[Theory]
263+
[InlineData(true, Skip = "DEBUGGING")]
258264
[InlineData(false, Skip = "https://github.com/dotnet/aspire/issues/5190")]
259265
[RequiresDocker]
260266
public async Task VerifyWithInitBindMount(bool init)
@@ -314,6 +320,8 @@ public async Task VerifyWithInitBindMount(bool init)
314320

315321
await app.WaitForTextAsync(DatabaseReadyText, cancellationToken: cts.Token);
316322

323+
await Task.Delay(10_000);
324+
317325
var hb = Host.CreateApplicationBuilder();
318326

319327
hb.Configuration[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default);

0 commit comments

Comments
 (0)