diff options
author | Peter Andersson <[email protected]> | 2010-06-04 15:34:42 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-06-09 16:19:23 +0200 |
commit | 34cf18550ff792ed9da884b00a49d6accd1bd5f5 (patch) | |
tree | d81105e39baec08bba74932fc4490ad7e825acb7 /lib/common_test/test/ct_test_server_if_1_SUITE_data | |
parent | a3af252253c1fbc642cf6229ff1e23f095b75b59 (diff) | |
download | otp-34cf18550ff792ed9da884b00a49d6accd1bd5f5.tar.gz otp-34cf18550ff792ed9da884b00a49d6accd1bd5f5.tar.bz2 otp-34cf18550ff792ed9da884b00a49d6accd1bd5f5.zip |
Add support for dynamic timetrap handling
Diffstat (limited to 'lib/common_test/test/ct_test_server_if_1_SUITE_data')
-rw-r--r-- | lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl b/lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl index 8e90df21ce..47cea190dd 100644 --- a/lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl +++ b/lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl @@ -93,6 +93,10 @@ init_per_testcase(_TestCase, Config) -> %%-------------------------------------------------------------------- end_per_testcase(tc2, Config) -> timer:sleep(5000); +end_per_testcase(tc12, Config) -> + ct:comment("end_per_testcase(tc12) called!"), + ct:pal("end_per_testcase(tc12) called!", []), + ok; end_per_testcase(_TestCase, _Config) -> ok. @@ -180,9 +184,9 @@ gtc2(_) -> exit(should_have_been_skipped). tc12(_) -> - F = fun() -> ct:abort_current_testcase({abort_current_testcase,tc12}) end, + F = fun() -> ct:abort_current_testcase('stopping tc12') end, spawn(F), - timer:sleep(500), + timer:sleep(1000), exit(should_have_been_aborted). tc13(_) -> |