summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-10-09 09:14:33 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-10-09 09:14:33 +0000
commitbcbad06cbbd2eb3ee5ed933fde5f55237277a7f9 (patch)
tree1a7c1be7f68f2e60c89f98d2a6f737aaa06e6759 /jurt
parent1f21851431710c725e8f235e7794aaea5cf726af (diff)
INTEGRATION: CWS sb8 (1.8.2); FILE MERGED
2003/10/06 12:12:43 sb 1.8.2.1: #112127# Added Thread.sleep to avoid spurious failures.
Diffstat (limited to 'jurt')
-rw-r--r--jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java b/jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java
index 9645fc018b59..226db1929cdb 100644
--- a/jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java
@@ -2,9 +2,9 @@
*
* $RCSfile: java_remote_bridge_Test.java,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: hr $ $Date: 2003-08-13 17:22:50 $
+ * last change: $Author: vg $ $Date: 2003-10-09 10:14:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -198,6 +198,10 @@ public final class java_remote_bridge_Test extends ComplexTestCase {
u1.waitUnreachable();
u2.waitUnreachable();
}
+ // For whatever strange reason, this sleep seems to be necessary to
+ // reliably ensure that even the last proxy's finalization is over
+ // before the following assure is executed:
+ Thread.sleep(1000);
assure("proxy count", ProxyFactory.getDebugCount() == 0);