Commit 139b8a19 authored by Eric Cano's avatar Eric Cano
Browse files

Bumped up the time waited before cheking that the killed child process is gone...

Bumped up the time waited before cheking that the killed child process is gone from 10ms to 100ms as 10ms was too small in some cases (helgrind + slow virtual machine).
parent 8889e96c
......@@ -86,7 +86,7 @@ namespace ThreadedUnitTests {
/* The effect is not immediate, wait a bit. */
struct timespec ts;
ts.tv_sec = 0;
ts.tv_nsec = 10*1000*1000;
ts.tv_nsec = 100*1000*1000;
nanosleep(&ts, NULL);
ASSERT_EQ(false, cp.running());
EXPECT_THROW(cp.exitCode(), castor::tape::threading::ChildProcess::ProcessWasKilled);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment