11 references to IsRunningOnCI
Aspire.Playground.Tests (11)
tests\Aspire.TestUtilities\RequiresFeatureAttribute.cs (6)
34return OperatingSystem.IsLinux() || !PlatformDetection.IsRunningOnCI; 62return !PlatformDetection.IsRunningOnCI // Supported on local runs 103if (PlatformDetection.IsRunningOnCI) 115if (PlatformDetection.IsRunningOnCI) 139if (PlatformDetection.IsRunningOnCI) 155if (PlatformDetection.IsRunningOnCI)
tests\Shared\AsyncTestHelpers.cs (5)
21public static readonly int DefaultTimeoutDuration = 5 * 1000 * (PlatformDetection.IsRunningOnCI ? 6 : 1); // 5 sec, 30 sec in CI 22public static readonly int LongTimeoutDuration = 60 * 1000 * (PlatformDetection.IsRunningOnCI ? 3 : 1); // 60 sec, 180 sec in CI 23public static readonly int ExtraLongTimeoutDuration = 60 * 1000 * 3 * (PlatformDetection.IsRunningOnCI ? 2 : 1); // 180 sec, 360 sec in CI -- useful when a docker image might need pulling 24public static readonly int DefaultOrchestratorTestTimeout = 15 * 1000 * (PlatformDetection.IsRunningOnCI ? 2 : 1); // 15 sec, 30 sec in CI 25public static readonly int DefaultOrchestratorTestLongTimeout = 45 * 1000 * (PlatformDetection.IsRunningOnCI ? 4 : 1); // 45 sec, 180 sec in CI