11 references to ExtraLongTimeoutTimeSpan
Aspire.Hosting.Tests (11)
DistributedApplicationTests.cs (11)
341
notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.NotStarted).DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
342
dependentResourceEvent = await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Waiting).DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
361
await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, CancellationToken.None).DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
364
var runningResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
371
var dependentRunningResourceEvent = await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
379
await orchestrator.StopResourceAsync(runningResourceEvent.ResourceId, CancellationToken.None).DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
380
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Exited).DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
386
await orchestrator.StartResourceAsync(runningResourceEvent.ResourceId, CancellationToken.None).DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
387
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
390
await startTask.DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);
391
await app.StopAsync().DefaultTimeout(TestConstants.
ExtraLongTimeoutTimeSpan
);