summaryrefslogtreecommitdiff
path: root/TAO/tests/CodeSets/simple/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/CodeSets/simple/run_test.pl')
-rwxr-xr-xTAO/tests/CodeSets/simple/run_test.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tests/CodeSets/simple/run_test.pl b/TAO/tests/CodeSets/simple/run_test.pl
index b4cf1b83813..4cf6ee6747d 100755
--- a/TAO/tests/CodeSets/simple/run_test.pl
+++ b/TAO/tests/CodeSets/simple/run_test.pl
@@ -19,7 +19,8 @@ $CL = new PerlACE::Process ("client", " -ORBSvcConf cs_test.conf");
$SV->Spawn ();
-if (PerlACE::waitforfile_timed ($iorfile, 5) == -1) {
+if (PerlACE::waitforfile_timed ($iorfile,
+ $PerlACE::wait_interval_for_process_creation) == -1) {
print STDERR "ERROR: cannot find file <$iorfile>\n";
$SV->Kill (); $SV->TimedWait (1);
exit 1;
@@ -48,7 +49,8 @@ $CL2 = new PerlACE::Process ("client");
$SV2->Spawn ();
-if (PerlACE::waitforfile_timed ($iorfile, 5) == -1) {
+if (PerlACE::waitforfile_timed ($iorfile,
+ $PerlACE::wait_interval_for_process_creation) == -1) {
print STDERR "ERROR: cannot find file <$iorfile>\n";
$SV2->Kill (); $SV2->TimedWait (1);
exit 1;