Problem: test cases are failing on slower PCs (eee PC)

Solution: raise timeouts from 100-150 msec to 250 msec
This commit is contained in:
Pieter Hintjens
2015-01-30 11:57:31 +01:00
parent 9fc0d2f1a3
commit a7a512ab3d
13 changed files with 19 additions and 19 deletions

View File

@@ -244,7 +244,7 @@ int main (void)
send (s, "\x01\x00", 2, 0);
// send sneaky message that shouldn't be received
send (s, "\x08\x00sneaky\0", 9, 0);
int timeout = 150;
int timeout = 250;
zmq_setsockopt (server, ZMQ_RCVTIMEO, &timeout, sizeof (timeout));
char *buf = s_recv (server);
if (buf != NULL) {