瀏覽代碼

The usleep in unit tests was too short

Stéphane Raimbault 14 年之前
父節點
當前提交
b76b3952ef
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 **/