diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-09 19:05:28 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-09 19:05:28 -0700 |
| commit | 9feb54e9c7ab116ba566086a76604338f86e3bc3 (patch) | |
| tree | fb8f2aeaef74db92f02377d6e1045f5237b694a7 /tests | |
| parent | 052dad14137e60c24e6bf6e4551d7009bdeb19e9 (diff) | |
| download | nng-9feb54e9c7ab116ba566086a76604338f86e3bc3.tar.gz nng-9feb54e9c7ab116ba566086a76604338f86e3bc3.tar.bz2 nng-9feb54e9c7ab116ba566086a76604338f86e3bc3.zip | |
fixes #47 compat_reqttls fails sometimes
fixes #23 Restore the old idhash logic for sockets
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/compat_reqttl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/compat_reqttl.c b/tests/compat_reqttl.c index 3e6c2b00..ad9ec71a 100644 --- a/tests/compat_reqttl.c +++ b/tests/compat_reqttl.c @@ -78,13 +78,13 @@ int main (int argc, const char *argv[]) test_connect (end1, socket_address_b); /* Wait for TCP to establish. */ - nn_sleep (100); + nn_sleep (200); /* Pass a message between endpoints. */ /* Set up max receive timeout. */ - timeo = 1000; + timeo = 500; test_setsockopt (end0, NN_SOL_SOCKET, NN_RCVTIMEO, &timeo, sizeof (timeo)); - timeo = 1000; + timeo = 500; test_setsockopt (end1, NN_SOL_SOCKET, NN_RCVTIMEO, &timeo, sizeof (timeo)); /* Test default TTL is 8. */ |
