Explorar o código

The usleep in unit tests was too short

Stéphane Raimbault %!s(int64=14) %!d(string=hai) anos
pai
achega
b76b3952ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/unit-test-client.c

+ 1 - 1
tests/unit-test-client.c

@@ -570,7 +570,7 @@ int main(int argc, char *argv[])
     modbus_set_timeout_begin(ctx, &timeout_begin_old);
 
     /* Wait for data before flushing */
-    usleep(100);
+    usleep(250000);
     modbus_flush(ctx);
 
     /** BAD RESPONSE **/