diff options
author | Zandra Hird <[email protected]> | 2016-06-13 16:12:09 +0200 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2016-06-13 16:12:09 +0200 |
commit | c82c4d6c0d9aea91ac4277a8fc0dcfa60e3e66bc (patch) | |
tree | 9cc9f71b6c79434c004b6b031669040bf93e83e4 /lib/kernel/test | |
parent | 1553773f77af13e4c8309dea1538ddd4c47b7c5e (diff) | |
download | otp-c82c4d6c0d9aea91ac4277a8fc0dcfa60e3e66bc.tar.gz otp-c82c4d6c0d9aea91ac4277a8fc0dcfa60e3e66bc.tar.bz2 otp-c82c4d6c0d9aea91ac4277a8fc0dcfa60e3e66bc.zip |
gen_udp_SUITE: Increase timeout to stabilize connect test
Diffstat (limited to 'lib/kernel/test')
-rw-r--r-- | lib/kernel/test/gen_udp_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/gen_udp_SUITE.erl b/lib/kernel/test/gen_udp_SUITE.erl index 85dc6312ea..44539bf44c 100644 --- a/lib/kernel/test/gen_udp_SUITE.erl +++ b/lib/kernel/test/gen_udp_SUITE.erl @@ -572,7 +572,7 @@ connect(Config) when is_list(Config) -> ok = gen_udp:close(S1), ok = gen_udp:connect(S2, Addr, P1), ok = gen_udp:send(S2, <<16#deadbeef:32>>), - ok = case gen_udp:recv(S2, 0, 5) of + ok = case gen_udp:recv(S2, 0, 500) of {error,econnrefused} -> ok; {error,econnreset} -> ok; Other -> Other |