Skip to content

Commit d1385a4

Browse files
committed
Fix system property key to check which OS the tests are running on
1 parent 8d0458b commit d1385a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/engineering/swat/watch/TestHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class TestHelper {
3737
static {
3838
var delayFactorConfig = System.getenv("DELAY_FACTOR");
3939
int delayFactor = delayFactorConfig == null ? 1 : Integer.parseInt(delayFactorConfig);
40-
var os = System.getProperty("os", "?").toLowerCase();
40+
var os = System.getProperty("os.name", "?").toLowerCase();
4141
if (os.contains("mac")) {
4242
// OSX is SLOW on it's watches
4343
delayFactor *= 2;

0 commit comments

Comments
 (0)