aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-05-26 14:38:44 +0200
committerSiri Hansen <[email protected]>2016-05-26 15:08:27 +0200
commit1964b89cb2ce66841467c15ea135e1ee1a292709 (patch)
tree2f3676fb162df82b86c82c01801c06e5f22da635 /lib/common_test
parente3800f7cbf158463ec958f585672bb3d8ca8b130 (diff)
downloadotp-1964b89cb2ce66841467c15ea135e1ee1a292709.tar.gz
otp-1964b89cb2ce66841467c15ea135e1ee1a292709.tar.bz2
otp-1964b89cb2ce66841467c15ea135e1ee1a292709.zip
Change ct:sleep to timer:sleep where scaling is not wanted
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl b/lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl
index c64774cd4f..0b3f834732 100644
--- a/lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl
+++ b/lib/common_test/test/ct_config_SUITE_data/config/test/config_dynamic_SUITE.erl
@@ -74,7 +74,7 @@ test_get_known_variable(_)->
test_localtime_update(_)->
Seconds = 5,
LT1 = ct:get_config(localtime),
- ct:sleep(Seconds*1000),
+ timer:sleep(Seconds*1000), % don't want scaling of this timer
LT2 = ct:reload_config(localtime),
case is_diff_ok(LT1, LT2, Seconds) of
{false, Actual, Exp}->