Elffuss BraidHub

kikocis/java-driver public

Reclassify TimeoutStressTest and LargeDataTest tests to 'stress' group.
Changeset08569ae862b696a8cac692d3dc4071aecf441edde7cba2fc3359752c25b3fd28
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-08-29 18:24 -05:00
CommitterAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-09-14 13:55 -05:00
Parentse02131eec8c7

Browse the files at this changeset

2 files changed

modified driver-core/src/test/java/com/datastax/driver/core/LargeDataTest.java +5 −5
@@ -181,7 +181,7 @@
181181 * Test a wide row of size 1,000,000
182182 * @throws Throwable
183183 */
184- @Test(groups = "long")
184+ @Test(groups = "stress")
185185 @CassandraVersion(major=2.0, minor=0, description="< 2.0 is skipped as 1.2 does not handle reading wide rows well.")
186186 public void wideRows() throws Throwable {
187187 Cluster.Builder builder = Cluster.builder();
@@ -205,7 +205,7 @@
205205 * Test a batch that writes a row of size 10,000
206206 * @throws Throwable
207207 */
208- @Test(groups = "short")
208+ @Test(groups = "stress")
209209 @CassandraVersion(major=2.0, minor=0, description="< 2.0 is skipped as 1.2 does not handle large batches well.")
210210 public void wideBatchRows() throws Throwable {
211211 Cluster.Builder builder = Cluster.builder();
@@ -229,7 +229,7 @@
229229 * Test a wide row of size 1,000,000 consisting of a ByteBuffer
230230 * @throws Throwable
231231 */
232- @Test(groups = "long")
232+ @Test(groups = "stress")
233233 public void wideByteRows() throws Throwable {
234234 Cluster.Builder builder = Cluster.builder();
235235 CCMBridge.CCMCluster c = CCMBridge.buildCluster(1, builder);
@@ -252,7 +252,7 @@
252252 * Test a row with a single extra large text value
253253 * @throws Throwable
254254 */
255- @Test(groups = "short")
255+ @Test(groups = "stress")
256256 public void largeText() throws Throwable {
257257 Cluster.Builder builder = Cluster.builder();
258258 CCMBridge.CCMCluster c = CCMBridge.buildCluster(1, builder);
@@ -275,7 +275,7 @@
275275 * Creates a table with 330 columns
276276 * @throws Throwable
277277 */
278- @Test(groups = "short")
278+ @Test(groups = "stress")
279279 public void wideTable() throws Throwable {
280280 Cluster.Builder builder = Cluster.builder();
281281 CCMBridge.CCMCluster c = CCMBridge.buildCluster(1, builder);
modified driver-core/src/test/java/com/datastax/driver/core/TimeoutStressTest.java +3 −3
@@ -69,7 +69,7 @@
6969
7070 static List<InetSocketAddress> nodes;
7171
72- @BeforeClass(groups = "long")
72+ @BeforeClass(groups = "stress")
7373 public void beforeClass() throws Exception {
7474 ccmBridge = CCMBridge.builder("test").withNodes(3).build();
7575 channelMonitor = new SocketChannelMonitor();
@@ -89,7 +89,7 @@
8989 .build();
9090 }
9191
92- @AfterClass(groups = "long")
92+ @AfterClass(groups = "stress")
9393 public void afterClass() {
9494 if(ccmBridge != null) {
9595 ccmBridge.stop();
@@ -125,7 +125,7 @@
125125 * @jira_ticket JAVA-692
126126 * @since 2.0.10, 2.1.6
127127 */
128- @Test(groups = "long")
128+ @Test(groups = "stress")
129129 public void host_state_should_be_maintained_with_timeouts() throws Exception {
130130 // Setup schema and insert records.
131131 Session session = cluster.connect();