Skip to content

Commit

Permalink
Move more random failing tests to the unstable group
Browse files Browse the repository at this point in the history
* ISPN-3631 - o.i.persistence.support.AsyncStoreEvictionTest
* ISPN-3994 - o.i.rest.IntegrationTest
* ISPN-4023 - o.i.server.test.rest.RESTCertSecurityTest
* ISPN-4026 - o.i.server.test.configs.ExampleConfigsTest
* ISPN-4017 - o.i.client.hotrod.BaseBulkGetKeysTest
* ISPN-4057 - o.i.server.test.clusteredcache.ClusteredCacheConfigurationTest
* ISPN-4058 - o.i.test.integration.as.cdi.GreetingServiceIT
* ISPN-4029 - o.i.commons.util.concurrent.NotifyingFutureTest
  • Loading branch information
danberindei authored and pruivo committed Feb 26, 2014
1 parent c33abc4 commit fca8dc0
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected void createCacheManagers() throws Throwable {
remoteCache = remoteCacheManager.getCache();
};

@AfterClass
@AfterClass(alwaysRun = true)
public void release() {
killRemoteCacheManager(remoteCacheManager);
killServers(hotrodServers);
Expand All @@ -73,6 +73,7 @@ public void testBulkGetKeys() {
}
}

@Test(groups = "unstable", description = "See ISPN-4017")
public void testBulkGetAfterLifespanExpire() throws InterruptedException {
Map<String, String> dataIn = new HashMap<String, String>();
dataIn.put("aKey", "aValue");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void testDoneOtherThread2() throws ExecutionException, InterruptedExcepti
testDoneOtherThread(0, 100);
}

@Test(groups = "unstable", description = "See ISPN-4029")
public void testExceptionOtherThread1() throws ExecutionException, InterruptedException {
testExceptionOtherThread(100, 0);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ public void call() {
});
}

@Test(groups = "unstable", description = "See ISPN-3631")
public void testSizeAfterRemoveAndExpiration() throws Exception {
TestingUtil.withCacheManager(new CacheCallable(config(false, 1)) {
@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package org.infinispan.test.integration.as.cdi;

import org.infinispan.test.integration.as.category.UnstableTest;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.experimental.categories.Category;

import javax.cache.annotation.CacheKey;
import javax.inject.Inject;
Expand All @@ -17,6 +19,7 @@
* @author Kevin Pollet <[email protected]> (C) 2011
*/
@RunWith(Arquillian.class)
@Category(UnstableTest.class) // See ISPN-4058
public class GreetingServiceIT {

@Deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public void testNumOwners() throws Exception {

// test queue-flush-interval=3000 (ms) with memcached
@Test
@Category(UnstableTest.class) // See ISPN-4057
public void testQueueFlushIntervalMemcached() throws Exception {
final MemcachedClient mc1 = new MemcachedClient(server1.getMemcachedEndpoint().getInetAddress().getHostName(), server1.getMemcachedEndpoint()
.getPort());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import org.infinispan.client.hotrod.RemoteCacheManager;
import org.infinispan.client.hotrod.configuration.ConfigurationBuilder;
import org.infinispan.client.hotrod.exceptions.TransportException;
import org.infinispan.server.test.category.UnstableTest;
import org.infinispan.server.test.client.memcached.MemcachedClient;
import org.infinispan.server.test.client.rest.RESTHelper;
import org.infinispan.server.test.util.RemoteCacheManagerFactory;
Expand All @@ -63,6 +64,7 @@
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.experimental.categories.Category;

import static org.infinispan.server.test.client.rest.RESTHelper.*;
import static org.infinispan.server.test.util.TestUtil.eventually;
Expand All @@ -76,6 +78,7 @@
* @author Galder Zamarreño ([email protected])
* @author Michal Linhard ([email protected])
*/
@Category(UnstableTest.class) // See ISPN-4026
@RunWith(Arquillian.class)
public class ExampleConfigsTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
import org.infinispan.arquillian.core.InfinispanResource;
import org.infinispan.arquillian.core.RemoteInfinispanServer;
import org.infinispan.server.test.category.UnstableTest;
import org.jboss.arquillian.container.test.api.Config;
import org.jboss.arquillian.container.test.api.ContainerController;
import org.jboss.arquillian.junit.Arquillian;
Expand All @@ -44,6 +45,7 @@
import org.jboss.security.JBossJSSESecurityDomain;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.experimental.categories.Category;

import javax.net.ssl.KeyManager;
import javax.net.ssl.SSLContext;
Expand Down Expand Up @@ -80,6 +82,7 @@
*
* @author Martin Gencur
*/
@Category(UnstableTest.class) // See ISPN-4023
@RunWith(Arquillian.class)
public class RESTCertSecurityTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import javax.ws.rs.core.CacheControl
* @author Michal Linhard
* @since 4.0
*/
@Test(groups = Array("functional"), testName = "rest.IntegrationTest")
@Test(groups = Array("unstable"), testName = "rest.IntegrationTest", description = "See ISPN-3994, original group: functional")
class IntegrationTest extends RestServerTestBase {

private lazy val log: JavaLog = LogFactory.getLog(getClass, classOf[JavaLog])
Expand Down

0 comments on commit fca8dc0

Please sign in to comment.