diff options
author | Siri Hansen <[email protected]> | 2016-04-13 11:58:55 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2016-04-13 11:58:55 +0200 |
commit | 2a96db84ea2de90127cc1e841634ecb8adc57f14 (patch) | |
tree | b971122c365934ff7adb9fa17d357a8642ccef61 /lib/common_test | |
parent | f60cccb4975b4e8035f49a6384fe25ca17380995 (diff) | |
download | otp-2a96db84ea2de90127cc1e841634ecb8adc57f14.tar.gz otp-2a96db84ea2de90127cc1e841634ecb8adc57f14.tar.bz2 otp-2a96db84ea2de90127cc1e841634ecb8adc57f14.zip |
Extend timer in test
ct_netconfc_SUITE ->
netconfc1_SUITE:close_while_waiting_for_chunked_data fails every now
and then with {error,timeout} instead of {error,closed}. To overcome
this, the timeout value in the failing call is now extended.
Diffstat (limited to 'lib/common_test')
-rw-r--r-- | lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl index 3a9443ee8c..75633dad47 100644 --- a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl +++ b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl @@ -812,7 +812,7 @@ close_while_waiting_for_chunked_data(Config) -> %% Order server to expect a get - then the process above will make %% sure the rpc-reply is sent - but only a part of it - then close. ?NS:expect('get'), - {error,closed} = ct_netconfc:get(Client,{server,[{xmlns,"myns"}],[]},2000), + {error,closed} = ct_netconfc:get(Client,{server,[{xmlns,"myns"}],[]},4000), ok. connection_crash(Config) -> |