aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/dirty_nif_SUITE_data
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-10-25 19:16:45 +0200
committerJohn Högberg <[email protected]>2017-11-30 15:44:37 +0100
commitb5149c7073896f3ddb8c7995b2b0992007a1f0e2 (patch)
treeeb30fa8afbb6f19828fecb4516b73dfdecd994a5 /erts/emulator/test/dirty_nif_SUITE_data
parent08901d99137014bd53b999a9fbb0aac893d854e4 (diff)
downloadotp-b5149c7073896f3ddb8c7995b2b0992007a1f0e2.tar.gz
otp-b5149c7073896f3ddb8c7995b2b0992007a1f0e2.tar.bz2
otp-b5149c7073896f3ddb8c7995b2b0992007a1f0e2.zip
Tighten timings in dirty_*if_SUITE:dirty_scheduler_exit
There doesn't seem to be any science behind the long delays, and the (newly introduced) dry run forces us to eat them twice, so they've been shortened to more reasonable values.
Diffstat (limited to 'erts/emulator/test/dirty_nif_SUITE_data')
-rw-r--r--erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c b/erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c
index 0321b9898f..2a8b999307 100644
--- a/erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c
+++ b/erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c
@@ -217,9 +217,9 @@ dirty_sleeper(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
}
#ifdef __WIN32__
- Sleep(6000);
+ Sleep(2000);
#else
- sleep(6);
+ sleep(2);
#endif
if (argc == 1) {