Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Re-enable the test

  • Loading branch information...
commit a0b5cc9276af39dc69305efecd132056325bda14 1 parent b3adaf0
@jfarcand authored
View
34 modules/cpr/src/test/java/org/atmosphere/tests/BaseTest.java
@@ -123,7 +123,7 @@ protected int findFreePort() throws IOException {
@AfterMethod(alwaysRun = true)
abstract public void unsetAtmosphereHandler() throws Exception;
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testSuspendTimeout() {
logger.info("{}: running test: testSuspendTimeout", getClass().getSimpleName());
@@ -174,7 +174,7 @@ public void onStateChange(AtmosphereResourceEvent<HttpServletRequest, HttpServle
c.close();
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testSuspendWithCommentsTimeout() {
logger.info("{}: running test: testSuspendWithCommentsTimeout", getClass().getSimpleName());
@@ -226,7 +226,7 @@ public void onStateChange(AtmosphereResourceEvent<HttpServletRequest, HttpServle
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testProgrammaticDisconnection() {
logger.info("{}: running test: testProgrammaticDisconnection", getClass().getSimpleName());
@@ -272,7 +272,7 @@ public void onStateChange(AtmosphereResourceEvent<HttpServletRequest, HttpServle
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testProgrammaticResume() {
logger.info("{}: running test: testProgrammaticResume", getClass().getSimpleName());
@@ -341,7 +341,7 @@ public String onCompleted(Response response) throws Exception {
c.close();
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testResumeOnBroadcast() {
logger.info("{}: running test: testResumeOnBroadcast", getClass().getSimpleName());
@@ -414,7 +414,7 @@ public String onCompleted(Response response) throws Exception {
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testDelayBroadcast() {
logger.info("{}: running test: testDelayBroadcast", getClass().getSimpleName());
@@ -494,7 +494,7 @@ public String onCompleted(Response response) throws Exception {
c.close();
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testDelayNextBroadcast() {
logger.info("{}: running test: testDelayNextBroadcast", getClass().getSimpleName());
@@ -563,7 +563,7 @@ public void onStateChange(AtmosphereResourceEvent<HttpServletRequest, HttpServle
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testScheduleBroadcast() {
logger.info("{}: running test: testScheduleBroadcast", getClass().getSimpleName());
@@ -644,7 +644,7 @@ public String onCompleted(Response response) throws Exception {
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testDelayScheduleBroadcast() {
logger.info("{}: running test: testDelayScheduleBroadcast", getClass().getSimpleName());
@@ -725,7 +725,7 @@ public String onCompleted(Response response) throws Exception {
c.close();
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testBroadcastFilter() {
logger.info("{}: running test: testBroadcastFilter", getClass().getSimpleName());
@@ -806,7 +806,7 @@ public String onCompleted(Response response) throws Exception {
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testAggregateFilter() {
logger.info("{}: running test: testAggregateFilter", getClass().getSimpleName());
@@ -881,7 +881,7 @@ public String onCompleted(Response response) throws Exception {
c.close();
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testHeaderBroadcasterCache() throws IllegalAccessException, ClassNotFoundException, InstantiationException {
logger.info("{}: running test: testHeaderBroadcasterCache", getClass().getSimpleName());
@@ -961,7 +961,7 @@ public Response onCompleted(Response r) throws Exception {
c.close();
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testSuspendRejectPolicy() {
logger.info("{}: running test: testSuspendTimeout", getClass().getSimpleName());
@@ -1013,7 +1013,7 @@ public void onStateChange(AtmosphereResourceEvent<HttpServletRequest, HttpServle
c.close();
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testBroadcastOnResume() {
logger.info("{}: running test: testScheduleBroadcast", getClass().getSimpleName());
@@ -1086,7 +1086,7 @@ public String onCompleted(Response response) throws Exception {
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testBroadcastOnResumeMsg() {
logger.info("{}: running test: testBroadcastOnResumeMsg", getClass().getSimpleName());
@@ -1153,7 +1153,7 @@ public String onCompleted(Response response) throws Exception {
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testBroadcastFactoryNewBroadcasterTimeout() {
logger.info("{}: running test: testBroadcastFactoryTimeout", getClass().getSimpleName());
@@ -1217,7 +1217,7 @@ public void onStateChange(AtmosphereResourceEvent<HttpServletRequest, HttpServle
c.close();
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testConcurrentBroadcast() {
logger.info("{}: running test: testConcurrentBroadcast", getClass().getSimpleName());
View
2  modules/cpr/src/test/java/org/atmosphere/tests/BroadcasterScopeTest.java
@@ -147,7 +147,7 @@ public void unsetAtmosphereHandler() throws Exception {
server = null;
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testBroadcasterScope() {
logger.info("Running testBroadcasterScope");
final CountDownLatch latch = new CountDownLatch(1);
View
4 modules/cpr/src/test/java/org/atmosphere/tests/MeteorTest.java
@@ -143,7 +143,7 @@ public void unsetAtmosphereHandler() throws Exception {
server = null;
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testSuspendTimeout() {
logger.info("running test: testSuspendTimeout");
@@ -169,7 +169,7 @@ public void testSuspendTimeout() {
c.close();
}
- @Test(timeOut = 60000, enabled = false)
+ @Test(timeOut = 60000, enabled = true)
public void testResumeOnBroadcast() {
logger.info("running test: testResumeOnBroadcast");
View
24 modules/jersey/src/test/java/org/atmosphere/jersey/tests/BasePubSubTest.java
@@ -66,7 +66,7 @@ String getUrlTarget(int port) {
return "http://127.0.0.1:" + port + "/invoke";
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testSuspendTimeout() {
logger.info("{}: running test: testSuspendTimeout", getClass().getSimpleName());
@@ -88,7 +88,7 @@ public void testSuspendTimeout() {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testSuspendWithCommentsTimeout() {
logger.info("{}: running test: testSuspendWithCommentsTimeout", getClass().getSimpleName());
@@ -110,7 +110,7 @@ public void testSuspendWithCommentsTimeout() {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testProgrammaticDisconnection() {
logger.info("{}: running test: testProgrammaticDisconnection", getClass().getSimpleName());
@@ -127,7 +127,7 @@ public void testProgrammaticDisconnection() {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testProgrammaticResume() {
logger.info("{}: running test: testProgrammaticResume", getClass().getSimpleName());
@@ -182,7 +182,7 @@ public String onCompleted() throws Exception {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testResumeOnBroadcastUsingBroadcasterFactory() {
logger.info("{}: running test: testResumeOnBroadcast", getClass().getSimpleName());
@@ -203,7 +203,7 @@ public void testResumeOnBroadcastUsingBroadcasterFactory() {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testDelayBroadcast() {
logger.info("{}: running test: testDelayBroadcast", getClass().getSimpleName());
@@ -248,7 +248,7 @@ public Response onCompleted(Response r) throws Exception {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testDelayNextBroadcast() {
logger.info("{}: running test: testDelayNextBroadcast", getClass().getSimpleName());
@@ -297,7 +297,7 @@ public Response onCompleted(Response r) throws Exception {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testScheduleBroadcast() {
logger.info("{}: running test: testScheduleBroadcast", getClass().getSimpleName());
@@ -343,7 +343,7 @@ public Response onCompleted(Response r) throws Exception {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testBroadcastFilter() {
logger.info("{}: running test: testBroadcastFilter", getClass().getSimpleName());
@@ -387,7 +387,7 @@ public Response onCompleted(Response r) throws Exception {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testAggregateFilter() {
logger.info("{}: running test: testAggregateFilter", getClass().getSimpleName());
@@ -440,7 +440,7 @@ public Response onCompleted(Response r) throws Exception {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testHeaderBroadcasterCache() throws IllegalAccessException, ClassNotFoundException, InstantiationException {
logger.info("{}: running test: testHeaderBroadcasterCache", getClass().getSimpleName());
@@ -485,7 +485,7 @@ public Response onCompleted(Response r) throws Exception {
c.close();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testProgrammaticDelayBroadcast() {
logger.info("{}: running test: testDelayBroadcast", getClass().getSimpleName());
View
2  modules/jersey/src/test/java/org/atmosphere/jersey/tests/BuilderResponseTest.java
@@ -33,7 +33,7 @@ public void setUpGlobal() throws Exception {
startServer();
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void test200WithNoContent() {
logger.info("{}: running test: test200WithNoContent", getClass().getSimpleName());
View
2  modules/jersey/src/test/java/org/atmosphere/jersey/tests/PerRequestResourceTest.java
@@ -57,7 +57,7 @@ String getUrlTarget(int port) {
return "http://127.0.0.1:" + port + "/perrequest";
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testPerRequestSuspendTimeout() {
logger.info("{}: running test: testPerRequestSuspendTimeout", getClass().getSimpleName());
View
2  modules/jersey/src/test/java/org/atmosphere/jersey/tests/SingletonResourceTest.java
@@ -57,7 +57,7 @@ String getUrlTarget(int port) {
return "http://127.0.0.1:" + port + "/singleton";
}
- @Test(timeOut = 20000, enabled = false)
+ @Test(timeOut = 20000, enabled = true)
public void testSingletonSuspendTimeout() {
logger.info("{}: running test: testSingletonSuspendTimeout", getClass().getSimpleName());
Please sign in to comment.
Something went wrong with that request. Please try again.