You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/07/01 03:37:48 UTC
svn commit: r790016 - in
/camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd:
CometdProducerConsumerInteractiveMain.java CometdProducerConsumerTest.java
Author: ningjiang
Date: Wed Jul 1 01:37:48 2009
New Revision: 790016
URL: http://svn.apache.org/viewvc?rev=790016&view=rev
Log:
Try to fix the TC test errors of camel-cometd
Modified:
camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java
camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerTest.java
Modified: camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java?rev=790016&r1=790015&r2=790016&view=diff
==============================================================================
--- camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java (original)
+++ camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java Wed Jul 1 01:37:48 2009
@@ -25,10 +25,10 @@
public class CometdProducerConsumerInteractiveMain {
- private static final String URI = "cometd://0.0.0.0:8080/service/test?resourceBase=./src/test/resources/webapp&"
+ private static final String URI = "cometd://127.0.0.1:9090/service/test?resourceBase=./src/test/resources/webapp&"
+ "timeout=240000&interval=0&maxInterval=30000&multiFrameInterval=1500&jsonCommented=true&logLevel=2";
- private static final String URIS = "cometds://0.0.0.0:8443/service/test?resourceBase=./src/test/resources/webapp&"
+ private static final String URIS = "cometds://127.0.0.1:9443/service/test?resourceBase=./src/test/resources/webapp&"
+ "timeout=240000&interval=0&maxInterval=30000&multiFrameInterval=1500&jsonCommented=true&logLevel=2";
private CamelContext context;
Modified: camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerTest.java?rev=790016&r1=790015&r2=790016&view=diff
==============================================================================
--- camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerTest.java (original)
+++ camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerTest.java Wed Jul 1 01:37:48 2009
@@ -30,7 +30,7 @@
*/
public class CometdProducerConsumerTest extends CamelTestSupport {
- private static final String URI = "cometd://0.0.0.0:8080/service/test?resourceBase=./target/test-classes/webapp&"
+ private static final String URI = "cometd://127.0.0.1:9080/service/test?resourceBase=./target/test-classes/webapp&"
+ "timeout=240000&interval=0&maxInterval=30000&multiFrameInterval=1500&jsonCommented=true&logLevel=2";
@Test