Browse Source

in testChildIsFinishedWriting, wait longer for child to exit.


git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@45 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
master
adeniz 9 years ago
parent
commit
dbfa0c4e3a
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      TestChild/testChild.cpp

+ 2
- 1
TestChild/testChild.cpp View File

@@ -1317,7 +1317,7 @@ bool testChildIsFinishedWriting() {
}
// Verify exit.
std::this_thread::sleep_for(std::chrono::milliseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(500));
if (!child.isDone()) {
std::cout << " Failure in testIsFinishedWriting: "
@@ -1595,6 +1595,7 @@ bool testChildNonBlockingReadWrite2() {
int main()
{
std::cout << "\nCodeDweller::ChildStream unit tests\n" << std::endl;
RUN_TEST(testChildStreamIsDone);

Loading…
Cancel
Save