136 references to WaitAsync
Aspire.Cli.Tests (101)
Commands\AddCommandTests.cs (8)
26
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
91
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
166
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
249
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
329
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
399
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
442
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
515
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\ConfigCommandTests.cs (24)
23
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
37
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
60
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
85
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
114
var exitCode1 = await result1.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
119
var exitCode2 = await result2.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
144
var setExitCode = await setResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
155
var getExitCode = await getResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
170
var setExitCode = await setResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
180
var getExitCode = await getResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
194
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
209
var setExitCode = await setResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
214
var deleteExitCode = await deleteResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
219
var getExitCode = await getResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
234
var setExitCode = await setResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
239
var deleteExitCode = await deleteResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
263
var setExitCode1 = await setResult1.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
267
var setExitCode2 = await setResult2.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
271
var setExitCode3 = await setResult3.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
276
var listExitCode = await listResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
294
var setExitCode = await setResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
312
var setExitCode = await setResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
336
var setExitCode = await setResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
369
var setExitCode = await setResult.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\DeployCommandTests.cs (6)
26
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
56
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
90
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
124
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
188
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
254
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\ExecCommandTests.cs (7)
34
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
52
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
70
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
88
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
109
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
132
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
163
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\NewCommandTests.cs (10)
30
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
74
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
132
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
186
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
240
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
296
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
351
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.LongTimeout);
385
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
440
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
493
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\PublishCommandPromptingIntegrationTests.cs (10)
49
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
95
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
147
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
194
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
240
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
298
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
377
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
445
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
497
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
552
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\PublishCommandTests.cs (6)
26
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
53
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
84
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
115
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
158
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
228
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\RootCommandTests.cs (1)
22
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\RunCommandTests.cs (9)
30
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
47
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
64
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
81
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
127
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
251
var exitCode = await pendingRun.
WaitAsync
(CliTestConstants.DefaultTimeout);
307
var exitCode = await pendingRun.
WaitAsync
(CliTestConstants.LongTimeout);
381
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
470
var exitCode = await pendingRun.
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\SdkInstallerTests.cs (7)
29
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
49
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
69
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
89
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
109
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
130
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
152
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
Commands\UpdateCommandTests.cs (1)
73
var exitCode = await result.InvokeAsync().
WaitAsync
(CliTestConstants.DefaultTimeout);
NuGet\NuGetPackageCacheTests.cs (5)
39
var packages = await nuGetPackageCache.GetCliPackagesAsync(workspace.WorkspaceRoot, prerelease: true, nugetConfigFile: null, CancellationToken.None).
WaitAsync
(CliTestConstants.DefaultTimeout);
73
var packages = await nuGetPackageCache.GetPackagesAsync(workspace.WorkspaceRoot, "Aspire.Hosting", null, prerelease: false, nugetConfigFile: null, CancellationToken.None).
WaitAsync
(CliTestConstants.DefaultTimeout);
111
var packages = await nuGetPackageCache.GetPackagesAsync(workspace.WorkspaceRoot, "Aspire.Hosting", null, prerelease: false, nugetConfigFile: null, CancellationToken.None).
WaitAsync
(CliTestConstants.DefaultTimeout);
154
CancellationToken.None).
WaitAsync
(CliTestConstants.DefaultTimeout);
189
var packages = await nuGetPackageCache.GetPackagesAsync(workspace.WorkspaceRoot, "Aspire.Hosting", null, prerelease: false, nugetConfigFile: null, CancellationToken.None).
WaitAsync
(CliTestConstants.DefaultTimeout);
Projects\ProjectUpdaterTests.cs (4)
127
var updateResult = await projectUpdater.UpdateProjectAsync(appHostProjectFile, selectedChannel).
WaitAsync
(CliTestConstants.DefaultTimeout);
239
var updateResult = await projectUpdater.UpdateProjectAsync(appHostProjectFile, selectedChannel).
WaitAsync
(CliTestConstants.DefaultTimeout);
391
var updateResult = await projectUpdater.UpdateProjectAsync(appHostProjectFile, selectedChannel).
WaitAsync
(CliTestConstants.DefaultTimeout);
555
var updateResult = await projectUpdater.UpdateProjectAsync(appHostProjectFile, selectedChannel).
WaitAsync
(CliTestConstants.DefaultTimeout);
Utils\CliUpdateNotificationServiceTests.cs (3)
70
var suggestedVersion = await suggestedVersionTcs.Task.
WaitAsync
(CliTestConstants.DefaultTimeout);
125
var suggestedVersion = await suggestedVersionTcs.Task.
WaitAsync
(CliTestConstants.DefaultTimeout);
180
var suggestedVersion = await suggestedVersionTcs.Task.
WaitAsync
(CliTestConstants.DefaultTimeout);
Aspire.Dashboard.Components.Tests (3)
Layout\MainLayoutTests.cs (2)
81
Assert.True(await dismissedSettingSetTcs.Task.
WaitAsync
(TimeSpan.FromSeconds(5)));
120
var completedTask = await Task.WhenAny(messageShownTcs.Task, timeoutTask).
WaitAsync
(TimeSpan.FromSeconds(5));
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Dashboard.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Hosting.GitHub.Models.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Hosting.Kafka.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Hosting.MySql.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Hosting.NodeJs.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Hosting.OpenAI.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Hosting.PostgreSQL.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Hosting.RabbitMQ.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Hosting.Tests (15)
Backchannel\AppHostBackchannelTests.cs (4)
39
var backchannelReadyEvent = await backchannelReadyTaskCompletionSource.Task.
WaitAsync
(TimeSpan.FromSeconds(60));
45
_ = await backchannelConnectedTaskCompletionSource.Task.
WaitAsync
(TimeSpan.FromSeconds(60));
77
var backchannelReadyEvent = await backchannelReadyTaskCompletionSource.Task.
WaitAsync
(TimeSpan.FromSeconds(60));
89
).
WaitAsync
(TimeSpan.FromSeconds(60));
OperationModesTests.cs (4)
33
var context = await tcs.Task.
WaitAsync
(TestConstants.DefaultTimeoutTimeSpan);
62
var context = await tcs.Task.
WaitAsync
(TestConstants.DefaultTimeoutTimeSpan);
91
var context = await tcs.Task.
WaitAsync
(TestConstants.DefaultTimeoutTimeSpan);
122
var context = await tcs.Task.
WaitAsync
(TestConstants.DefaultTimeoutTimeSpan);
Orchestrator\ParameterProcessorTests.cs (3)
320
var logs = await logsTask.
WaitAsync
(TimeSpan.FromSeconds(5));
344
var logs = await logsTask.
WaitAsync
(TimeSpan.FromSeconds(5));
387
var logs = await logsTask.
WaitAsync
(TimeSpan.FromSeconds(5));
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
WaitForTests.cs (3)
246
).
WaitAsync
(TimeSpan.FromSeconds(15));
270
).
WaitAsync
(TimeSpan.FromSeconds(15));
299
.
WaitAsync
(TimeSpan.FromSeconds(15));
Aspire.Hosting.Valkey.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Aspire.Playground.Tests (1)
tests\Shared\AsyncTestHelpers.cs (1)
139
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Microsoft.AspNetCore.Components.Tests (3)
NavigationManagerTest.cs (3)
312
var navigation1Result = await navigation1.
WaitAsync
(Timeout);
485
var navigation1Result = await navigation1.
WaitAsync
(Timeout);
517
var navigation1Result = await navigation1.
WaitAsync
(Timeout);
Microsoft.AspNetCore.InternalTesting (1)
src\Shared\TaskExtensions.cs (1)
88
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
ResponseBodyTests.cs (1)
311
Assert.True(await requestThrew.Task.
WaitAsync
(TimeSpan.FromSeconds(10)));
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\Shared\TaskExtensions.cs (1)
88
return await task.
WaitAsync
(timeout).ConfigureAwait(false);
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Resolver\TcpFailoverTests.cs (1)
59
AddressResult[] results = await Resolver.ResolveIPAddressesAsync(hostName, AddressFamily.InterNetwork).AsTask().
WaitAsync
(TimeSpan.FromSeconds(10));