summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs
diff options
context:
space:
mode:
authorharrisb <harrisb@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-03-11 14:56:02 +0000
committerharrisb <harrisb@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-03-11 14:56:02 +0000
commitd1b06afeeb0d7ffd4e1904ee5b55855e2c34c2d3 (patch)
tree9159fb2b58a86b6ca3664aa4543d53e850b6b9f9 /TAO/orbsvcs
parent10fb6aae724049cf28bfdd94a69b15ee833e8b46 (diff)
downloadATCD-d1b06afeeb0d7ffd4e1904ee5b55855e2c34c2d3.tar.gz
Mon Mar 11 14:51:28 UTC 2013 Byron Harris <harrisb@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs')
-rwxr-xr-xTAO/orbsvcs/tests/FT_Naming/Replication/run_test.pl18
1 files changed, 5 insertions, 13 deletions
diff --git a/TAO/orbsvcs/tests/FT_Naming/Replication/run_test.pl b/TAO/orbsvcs/tests/FT_Naming/Replication/run_test.pl
index b00a02d342e..c0573a0c4d8 100755
--- a/TAO/orbsvcs/tests/FT_Naming/Replication/run_test.pl
+++ b/TAO/orbsvcs/tests/FT_Naming/Replication/run_test.pl
@@ -61,18 +61,6 @@ my $test_primary_iorfile = $test->LocalFile ($primary_iorfile);
$status = 0;
-sub clean_persistence_dir
-{
- chdir $naming_persistence_dir;
- opendir(THISDIR, ".");
- @allfiles = grep(!/^\.\.?$/, readdir(THISDIR));
- closedir(THISDIR);
- foreach $tmp (@allfiles){
- $test->DeleteFile ($tmp);
- }
- chdir "..";
-}
-
print "INFO: Running the test in ", getcwd(), "\n";
sub clean_persistence_dir($$)
@@ -174,7 +162,11 @@ print STDERR "Starting Client: $prog $args\n";
$CL = $test->CreateProcess ("$prog", "$args");
-$client = $CL->SpawnWaitKill ($test->ProcessStartWaitInterval());
+# Some systems may take a very long time to process 100 objects.
+# For example, on a Solaris/SPARC system it was found that it took
+# 8 seconds to bind 100 objects compared to 0.08 seconds on a
+# Linux/Intel computer. So add to the wait time.
+$client = $CL->SpawnWaitKill ($test->ProcessStartWaitInterval() + 105);
if ($client != 0) {
print STDERR "ERROR: client returned $client\n";