7 references to TestConstants
Aspire.Dashboard.Tests (7)
Integration\OtlpHttpServiceTests.cs (1)
47
var responseMessage = await httpClient.PostAsync("/v1/logs", content).DefaultTimeout(
TestConstants
.LongTimeoutDuration);
tests\Shared\AsyncTestHelpers.cs (6)
38
public static CancellationTokenSource CreateDefaultTimeoutTokenSource(int milliseconds =
TestConstants
.DefaultTimeoutDuration)
48
public static async IAsyncEnumerable<T> DefaultTimeout<T>(this IAsyncEnumerable<T> asyncEnumerable, int milliseconds =
TestConstants
.DefaultTimeoutDuration, [CallerFilePath] string? filePath = null, [CallerLineNumber] int lineNumber = default)
58
public static Task DefaultTimeout(this Task task, int milliseconds =
TestConstants
.DefaultTimeoutDuration, [CallerFilePath] string? filePath = null, [CallerLineNumber] int lineNumber = default)
68
public static Task DefaultTimeout(this ValueTask task, int milliseconds =
TestConstants
.DefaultTimeoutDuration, [CallerFilePath] string? filePath = null, [CallerLineNumber] int lineNumber = default)
78
public static Task<T> DefaultTimeout<T>(this Task<T> task, int milliseconds =
TestConstants
.DefaultTimeoutDuration, [CallerFilePath] string? filePath = null, [CallerLineNumber] int lineNumber = default)
88
public static Task<T> DefaultTimeout<T>(this ValueTask<T> task, int milliseconds =
TestConstants
.DefaultTimeoutDuration, [CallerFilePath] string? filePath = null, [CallerLineNumber] int lineNumber = default)