|
1 | | -diff --git c/driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java w/driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java |
| 1 | +diff --git a/driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java b/driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java |
2 | 2 | index f890b3447..042dfdbad 100644 |
3 | | ---- c/driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java |
4 | | -+++ w/driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java |
| 3 | +--- a/driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java |
| 4 | ++++ b/driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java |
5 | 5 | @@ -172,13 +172,17 @@ public class CCMBridge implements CCMAccess { |
6 | 6 | String installDirectory = System.getProperty("cassandra.directory"); |
7 | 7 | String branch = System.getProperty("cassandra.branch"); |
@@ -49,10 +49,61 @@ index f890b3447..042dfdbad 100644 |
49 | 49 | } |
50 | 50 |
|
51 | 51 | /** |
52 | | -diff --git c/pom.xml w/pom.xml |
| 52 | +diff --git a/driver-core/src/test/java/com/datastax/driver/core/ClusterStressTest.java b/driver-core/src/test/java/com/datastax/driver/core/ClusterStressTest.java |
| 53 | +index e7a62993b..a315cf347 100644 |
| 54 | +--- a/driver-core/src/test/java/com/datastax/driver/core/ClusterStressTest.java |
| 55 | ++++ b/driver-core/src/test/java/com/datastax/driver/core/ClusterStressTest.java |
| 56 | +@@ -35,6 +35,7 @@ import org.slf4j.LoggerFactory; |
| 57 | + import org.testng.annotations.AfterMethod; |
| 58 | + import org.testng.annotations.Test; |
| 59 | + |
| 60 | ++@CCMConfig(jvmArgs = {"--smp", "1"}) |
| 61 | + public class ClusterStressTest extends CCMTestsSupport { |
| 62 | + |
| 63 | + private static final Logger logger = LoggerFactory.getLogger(ClusterStressTest.class); |
| 64 | +diff --git a/driver-core/src/test/java/com/datastax/driver/core/PoolingOptionsIntegrationTest.java b/driver-core/src/test/java/com/datastax/driver/core/PoolingOptionsIntegrationTest.java |
| 65 | +index 7dc809d81..f480e6868 100644 |
| 66 | +--- a/driver-core/src/test/java/com/datastax/driver/core/PoolingOptionsIntegrationTest.java |
| 67 | ++++ b/driver-core/src/test/java/com/datastax/driver/core/PoolingOptionsIntegrationTest.java |
| 68 | +@@ -28,7 +28,9 @@ import java.util.concurrent.TimeUnit; |
| 69 | + import org.testng.annotations.AfterMethod; |
| 70 | + import org.testng.annotations.Test; |
| 71 | + |
| 72 | +-@CCMConfig(createSession = false) |
| 73 | ++@CCMConfig( |
| 74 | ++ createSession = false, |
| 75 | ++ jvmArgs = {"--smp", "1"}) |
| 76 | + public class PoolingOptionsIntegrationTest extends CCMTestsSupport { |
| 77 | + |
| 78 | + private ThreadPoolExecutor executor; |
| 79 | +diff --git a/driver-core/src/test/java/com/datastax/driver/core/SessionLeakTest.java b/driver-core/src/test/java/com/datastax/driver/core/SessionLeakTest.java |
| 80 | +index cc6940575..c6e15b562 100644 |
| 81 | +--- a/driver-core/src/test/java/com/datastax/driver/core/SessionLeakTest.java |
| 82 | ++++ b/driver-core/src/test/java/com/datastax/driver/core/SessionLeakTest.java |
| 83 | +@@ -20,6 +20,7 @@ import static com.datastax.driver.core.CreateCCM.TestMode.PER_METHOD; |
| 84 | + import static com.datastax.driver.core.TestUtils.nonDebouncingQueryOptions; |
| 85 | + import static com.google.common.collect.Lists.newArrayList; |
| 86 | + import static java.util.concurrent.TimeUnit.MINUTES; |
| 87 | ++import static org.assertj.core.api.Assertions.assertThat; |
| 88 | + import static org.assertj.core.api.Assertions.fail; |
| 89 | + |
| 90 | + import com.datastax.driver.core.exceptions.InvalidQueryException; |
| 91 | +@@ -28,7 +29,10 @@ import java.util.concurrent.TimeUnit; |
| 92 | + import org.testng.annotations.Test; |
| 93 | + |
| 94 | + @CreateCCM(PER_METHOD) |
| 95 | +-@CCMConfig(dirtiesContext = true, createCluster = false) |
| 96 | ++@CCMConfig( |
| 97 | ++ dirtiesContext = true, |
| 98 | ++ createCluster = false, |
| 99 | ++ jvmArgs = {"--smp", "1"}) |
| 100 | + public class SessionLeakTest extends CCMTestsSupport { |
| 101 | + |
| 102 | + SocketChannelMonitor channelMonitor; |
| 103 | +diff --git a/pom.xml b/pom.xml |
53 | 104 | index 944e40986..deec3fa47 100644 |
54 | | ---- c/pom.xml |
55 | | -+++ w/pom.xml |
| 105 | +--- a/pom.xml |
| 106 | ++++ b/pom.xml |
56 | 107 | @@ -75,7 +75,7 @@ |
57 | 108 | <!-- more recent versions of pax-exam require JDK7+ --> |
58 | 109 | <pax-exam.version>3.6.0</pax-exam.version> |
|
0 commit comments