浏览代码

Increase wait in unit test for Windows 7 slowness

Stéphane Raimbault 14 年之前
父节点
当前提交
1a45c24d7e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/unit-test-client.c

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

@@ -593,7 +593,7 @@ int main(int argc, char *argv[])
     modbus_set_response_timeout(ctx, &old_response_timeout);
     modbus_set_response_timeout(ctx, &old_response_timeout);
 
 
     /* Wait for data before flushing */
     /* Wait for data before flushing */
-    usleep(250000);
+    usleep(500000);
     modbus_flush(ctx);
     modbus_flush(ctx);
 
 
     /** BAD RESPONSE **/
     /** BAD RESPONSE **/