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

} }
// Verify exit. // Verify exit.
std::this_thread::sleep_for(std::chrono::milliseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(500));
if (!child.isDone()) { if (!child.isDone()) {
std::cout << " Failure in testIsFinishedWriting: " std::cout << " Failure in testIsFinishedWriting: "
int main() int main()
{ {
std::cout << "\nCodeDweller::ChildStream unit tests\n" << std::endl; std::cout << "\nCodeDweller::ChildStream unit tests\n" << std::endl;
RUN_TEST(testChildStreamIsDone); RUN_TEST(testChildStreamIsDone);

Loading…
Cancel
Save