You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yoko-commits@incubator.apache.org by br...@apache.org on 2007/05/01 15:30:34 UTC

svn commit: r534124 - /incubator/yoko/trunk/core/src/test/java/test/codesets/Client.java

Author: bravi
Date: Tue May  1 08:30:33 2007
New Revision: 534124

URL: http://svn.apache.org/viewvc?view=rev&rev=534124
Log:
Minor update to the testcase to add a wait time. We need to revisit the test cases in core & update them properly. This testcase keeps hanging in my windows box.

Modified:
    incubator/yoko/trunk/core/src/test/java/test/codesets/Client.java

Modified: incubator/yoko/trunk/core/src/test/java/test/codesets/Client.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/test/java/test/codesets/Client.java?view=diff&rev=534124&r1=534123&r2=534124
==============================================================================
--- incubator/yoko/trunk/core/src/test/java/test/codesets/Client.java (original)
+++ incubator/yoko/trunk/core/src/test/java/test/codesets/Client.java Tue May  1 08:30:33 2007
@@ -17,6 +17,7 @@
 
 package test.codesets;
 
+import java.io.File;
 import java.util.Properties;
 import org.omg.CORBA.*;
 
@@ -67,6 +68,15 @@
 
         int status = 0;
         ORB orb = null;
+
+        File file = new File("TestCodeSets.ref");
+        if (!file.exists()) {
+            try {
+                Thread.sleep(5000);
+            } catch (Exception ex) {
+                //IGNORE
+            }
+        }
 
         try {
             orb = ORB.init(args, props);