Skip to content

Commit 39f800b

Browse files
committed
Adjust timeouts for recent Travis build failures.
Related to #246.
1 parent bf4b436 commit 39f800b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/SideBySide/AppConfig.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ public static MySqlConnectionStringBuilder CreateConnectionStringBuilder()
6565
return new MySqlConnectionStringBuilder(ConnectionString);
6666
}
6767

68-
// tests can run extremely slowly on Appveyor (and slightly slower under Travis)
69-
public static int TimeoutDelayFactor { get; } = Environment.GetEnvironmentVariable("APPVEYOR") == "True" ? 6 :
70-
Environment.GetEnvironmentVariable("TRAVIS") == "true" ? 3 : 1;
68+
// tests can run much slower in CI environments
69+
public static int TimeoutDelayFactor { get; } = (Environment.GetEnvironmentVariable("APPVEYOR") == "True" || Environment.GetEnvironmentVariable("TRAVIS") == "true") ? 6 : 1;
7170

7271
private static string GetCodeRootPath()
7372
{

0 commit comments

Comments
 (0)