aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/driver_SUITE.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-06-22 17:25:40 +0200
committerRickard Green <[email protected]>2016-06-27 17:02:41 +0200
commit7da791e738fbde05bbd6b881c940e896a217ef91 (patch)
tree1ab46c13b6ffc2b4097e4135272f25bc6b5e7240 /erts/emulator/test/driver_SUITE.erl
parent46b3f3d62b2c202ad08af87130eee1e16bc464af (diff)
downloadotp-7da791e738fbde05bbd6b881c940e896a217ef91.tar.gz
otp-7da791e738fbde05bbd6b881c940e896a217ef91.tar.bz2
otp-7da791e738fbde05bbd6b881c940e896a217ef91.zip
Improve timer tests in driver_SUITE
Diffstat (limited to 'erts/emulator/test/driver_SUITE.erl')
-rw-r--r--erts/emulator/test/driver_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/test/driver_SUITE.erl b/erts/emulator/test/driver_SUITE.erl
index f134a197aa..68e2e1696f 100644
--- a/erts/emulator/test/driver_SUITE.erl
+++ b/erts/emulator/test/driver_SUITE.erl
@@ -401,7 +401,7 @@ try_timeouts(Port, Timeout) ->
true ->
try_timeouts(Port, Timeout div 2)
end
- after Timeout + ?delay ->
+ after Timeout + 100*?delay ->
ct:fail("driver failed to timeout")
end.
@@ -437,7 +437,7 @@ try_cancel(Port, Timeout) ->
Timeout == 0 -> ok;
true -> try_cancel(Port, Timeout div 2)
end
- after ?delay ->
+ after 100*?delay ->
ct:fail("No message from driver")
end
end.
@@ -505,7 +505,7 @@ try_change_timer(Port, Timeout) ->
true ->
try_timeouts(Port, Timeout div 2)
end
- after Timeout + ?delay ->
+ after Timeout + 100*?delay ->
ct:fail("driver failed to timeout")
end.