qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritch...@apache.org
Subject svn commit: r472500 - in /incubator/qpid/trunk/qpid/java/client/test: ./ src/org/apache/qpid/test/unit/jndi/referenceabletest/
Date Wed, 08 Nov 2006 14:16:38 GMT
Author: ritchiem
Date: Wed Nov  8 06:16:37 2006
New Revision: 472500

URL: http://svn.apache.org/viewvc?view=rev&rev=472500
Log:
MultipleConnectionTest.java needed a longer time out.
JNDI URL was missing file://

Modified:
    incubator/qpid/trunk/qpid/java/client/test/build-module.xml
    incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Bind.java
    incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Lookup.java
    incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Unbind.java

Modified: incubator/qpid/trunk/qpid/java/client/test/build-module.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/build-module.xml?view=diff&rev=472500&r1=472499&r2=472500
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/test/build-module.xml (original)
+++ incubator/qpid/trunk/qpid/java/client/test/build-module.xml Wed Nov  8 06:16:37 2006
@@ -23,7 +23,7 @@
 
     <target name="test" depends="build">
         <echo>Client Tests</echo>
-        <junit fork="yes" printsummary="yes" showoutput="true" haltonfailure="yes" timeout="30000">
+        <junit fork="yes" printsummary="yes" showoutput="true" haltonfailure="yes">
             <sysproperty key="amqj.noAutoCreateVMBroker" value="true"/>
             <formatter type="plain"/>
             <classpath refid="module.class.path"/>
@@ -39,7 +39,7 @@
 
     <target name="testreport" depends="build">
         <echo>Client Tests with Report</echo>
-        <junit fork="yes" printsummary="yes" haltonfailure="no" timeout="30000">
+        <junit fork="yes" printsummary="yes" haltonfailure="no" timeout="90000">
             <sysproperty key="amqj.noAutoCreateVMBroker" value="true"/>
             <formatter type="xml" />
             <classpath refid="module.class.path" />

Modified: incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Bind.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Bind.java?view=diff&rev=472500&r1=472499&r2=472500
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Bind.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Bind.java
Wed Nov  8 06:16:37 2006
@@ -49,7 +49,8 @@
 class Bind
 {
     public static final String DEFAULT_PROVIDER_FILE_PATH = System.getProperty("java.io.tmpdir")
+ "/JNDITest" + System.currentTimeMillis();
-    public String PROVIDER_URL = "file://" + DEFAULT_PROVIDER_FILE_PATH;
+    public static final String DEFAULT_PROVIDER_URL = "file://" + DEFAULT_PROVIDER_FILE_PATH;
+    public String PROVIDER_URL = DEFAULT_PROVIDER_URL;
 
     String _connectionFactoryString = "";
 
@@ -60,12 +61,12 @@
 
     public Bind() throws NameAlreadyBoundException, NoInitialContextException
     {
-        this(false, DEFAULT_PROVIDER_FILE_PATH);
+        this(false, DEFAULT_PROVIDER_URL);
     }
 
     public Bind(boolean output) throws NameAlreadyBoundException, NoInitialContextException
     {
-        this(output, DEFAULT_PROVIDER_FILE_PATH);
+        this(output, DEFAULT_PROVIDER_URL);
     }
 
     public Bind(boolean output, String providerURL) throws NameAlreadyBoundException, NoInitialContextException

Modified: incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Lookup.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Lookup.java?view=diff&rev=472500&r1=472499&r2=472500
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Lookup.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Lookup.java
Wed Nov  8 06:16:37 2006
@@ -42,7 +42,8 @@
 class Lookup
 {
     public static final String DEFAULT_PROVIDER_FILE_PATH = System.getProperty("java.io.tmpdir")
+ "/JNDITest";
-    public String PROVIDER_URL = "file://" + DEFAULT_PROVIDER_FILE_PATH;
+    public static final String DEFAULT_PROVIDER_URL = "file://" + DEFAULT_PROVIDER_FILE_PATH;
+    public String PROVIDER_URL = DEFAULT_PROVIDER_URL;
 
     AMQTopic _topic = null;
     AMQConnection _connection = null;
@@ -52,7 +53,7 @@
 
     public Lookup()
     {
-        this(DEFAULT_PROVIDER_FILE_PATH);
+        this(DEFAULT_PROVIDER_URL);
     }
 
     public Lookup(String providerURL)

Modified: incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Unbind.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Unbind.java?view=diff&rev=472500&r1=472499&r2=472500
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Unbind.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/test/unit/jndi/referenceabletest/Unbind.java
Wed Nov  8 06:16:37 2006
@@ -39,18 +39,19 @@
 class Unbind
 {
     public static final String DEFAULT_PROVIDER_FILE_PATH = System.getProperty("java.io.tmpdir")
+ "/JNDITest" + System.currentTimeMillis();
-    public String PROVIDER_URL = "file://" + DEFAULT_PROVIDER_FILE_PATH;
+    public static final String DEFAULT_PROVIDER_URL = "file://" + DEFAULT_PROVIDER_FILE_PATH;
+    public String PROVIDER_URL = DEFAULT_PROVIDER_URL;
 
     boolean _unbound = false;
 
     public Unbind()
     {
-        this(false, DEFAULT_PROVIDER_FILE_PATH);
+        this(false, DEFAULT_PROVIDER_URL);
     }
 
     public Unbind(Boolean output)
     {
-        this(output, DEFAULT_PROVIDER_FILE_PATH);
+        this(output, DEFAULT_PROVIDER_URL);
     }
 
     public Unbind(String provider)



Mime
View raw message