Commit b76b3952ef9b2f6dd9d2215d322573c5eaf2faa7

Authored by Stéphane Raimbault
1 parent ce5435c4

The usleep in unit tests was too short

Showing 1 changed file with 1 additions and 1 deletions
tests/unit-test-client.c
... ... @@ -570,7 +570,7 @@ int main(int argc, char *argv[])
570 570 modbus_set_timeout_begin(ctx, &timeout_begin_old);
571 571  
572 572 /* Wait for data before flushing */
573   - usleep(100);
  573 + usleep(250000);
574 574 modbus_flush(ctx);
575 575  
576 576 /** BAD RESPONSE **/
... ...