summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/gc/Client.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-05-24 01:49:59 +0000
committerMichi Henning <michi@zeroc.com>2004-05-24 01:49:59 +0000
commit373e20ed6ae678511711f56cd5899df02f4ef94b (patch)
tree0549975258e2caf88104ecf1c28e8a78c3ed083a /cpp/test/Ice/gc/Client.cpp
parentWin98 fix (diff)
downloadice-373e20ed6ae678511711f56cd5899df02f4ef94b.tar.bz2
ice-373e20ed6ae678511711f56cd5899df02f4ef94b.tar.xz
ice-373e20ed6ae678511711f56cd5899df02f4ef94b.zip
Added a sleep before the final call to collectGarbage() to see whether that
stops the final test from failing.
Diffstat (limited to 'cpp/test/Ice/gc/Client.cpp')
-rw-r--r--cpp/test/Ice/gc/Client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/test/Ice/gc/Client.cpp b/cpp/test/Ice/gc/Client.cpp
index 8249ec0aaa3..339298496c0 100644
--- a/cpp/test/Ice/gc/Client.cpp
+++ b/cpp/test/Ice/gc/Client.cpp
@@ -493,6 +493,7 @@ MyApplication::run(int argc, char* argv[])
}
garbageThread->stop();
+ IceUtil::ThreadControl::sleep(IceUtil::Time::seconds(1));
Ice::collectGarbage();
if(!interrupted())
{