diff options
author | Ingela Anderton Andin <[email protected]> | 2014-05-08 11:18:54 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-05-08 11:18:54 +0200 |
commit | 2ecf72ae4e0ca3a447a6b5b04115a4e436931d22 (patch) | |
tree | 395368aa74b02bc4653864a581ba37102525a58d /lib/inets/test/httpd_block.erl | |
parent | eb28a406958f156c9fbae238458d633b2171b41d (diff) | |
parent | b38c2c8f67772f8260bfaa99ea110212b3a3df57 (diff) | |
download | otp-2ecf72ae4e0ca3a447a6b5b04115a4e436931d22.tar.gz otp-2ecf72ae4e0ca3a447a6b5b04115a4e436931d22.tar.bz2 otp-2ecf72ae4e0ca3a447a6b5b04115a4e436931d22.zip |
Merge branch 'ia/inets/block-unblock/OTP-11914' into maint
* ia/inets/block-unblock/OTP-11914:
inets: Correct distirbing mode for httpd:reload_config/2
Diffstat (limited to 'lib/inets/test/httpd_block.erl')
-rw-r--r-- | lib/inets/test/httpd_block.erl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/inets/test/httpd_block.erl b/lib/inets/test/httpd_block.erl index 706d014bda..9790623b6f 100644 --- a/lib/inets/test/httpd_block.erl +++ b/lib/inets/test/httpd_block.erl @@ -111,8 +111,7 @@ block_disturbing_active_timeout_not_released(Type, Port, Host, Node) -> process_flag(trap_exit, true), Poller = long_poll(Type, Host, Port, Node, 200, 60000), ct:sleep(15000), - Blocker = blocker(Node, Host, Port, 50000), - await_normal_process_exit(Blocker, "blocker", 50000), + ok = httpd_block(undefined, Port, disturbing, 50000), await_normal_process_exit(Poller, "poller", 30000), blocked = get_admin_state(Node, Host, Port), process_flag(trap_exit, false), @@ -123,8 +122,7 @@ block_disturbing_active_timeout_released(Type, Port, Host, Node) -> process_flag(trap_exit, true), Poller = long_poll(Type, Host, Port, Node, 200, 40000), ct:sleep(5000), - Blocker = blocker(Node, Host, Port, 10000), - await_normal_process_exit(Blocker, "blocker", 15000), + ok = httpd_block(undefined, Port, disturbing, 10000), await_suite_failed_process_exit(Poller, "poller", 40000, connection_closed), blocked = get_admin_state(Node, Host, Port), |