瀏覽代碼

Increased wait time before I/O with the child process. Reason: Reduce the chance of false Fail results.

master
Alban Deniz 11 月之前
父節點
當前提交
ceec6aea33
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      TestChild/testChild.cpp

+ 3
- 3
TestChild/testChild.cpp 查看文件

@@ -1718,7 +1718,7 @@ bool testChildNonBlockingReadWrite1() {
RETURN_FALSE(" writeAndShrink() failure");
}
std::this_thread::sleep_for(std::chrono::milliseconds(25));
std::this_thread::sleep_for(std::chrono::milliseconds(100));
int expectedLeftOver = output.size();
@@ -1933,7 +1933,7 @@ bool testChildVectorReadWrite() {
RETURN_FALSE(" writeAndShrink() failure");
}
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(100));
if (child.read(readBuf) != nExpectedBytes) {
RETURN_FALSE(" read() failure");
@@ -2076,7 +2076,7 @@ bool testChildReadDelimited() {
RETURN_FALSE(" write() failure");
}
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(100));
// Check
std::vector<char> delimVec = {'E'};

Loading…
取消
儲存