You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "maoling (via GitHub)" <gi...@apache.org> on 2025/03/24 13:40:52 UTC

[PR] CASSANDRA-20474: Ant supports repeatedly running a unit test multiple times [cassandra]

maoling opened a new pull request, #4005:
URL: https://github.com/apache/cassandra/pull/4005

   - more details in the [CASSANDRA-20474](https://issues.apache.org/jira/browse/CASSANDRA-20474)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] CASSANDRA-20474: Ant supports repeatedly running a unit test multiple times [cassandra]

Posted by "maoling (via GitHub)" <gi...@apache.org>.
maoling closed pull request #4005: CASSANDRA-20474: Ant supports repeatedly running a unit test multiple times
URL: https://github.com/apache/cassandra/pull/4005


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] CASSANDRA-20474: Ant supports repeatedly running a unit test multiple times [cassandra]

Posted by "smiklosovic (via GitHub)" <gi...@apache.org>.
smiklosovic commented on code in PR #4005:
URL: https://github.com/apache/cassandra/pull/4005#discussion_r2020867660


##########
build.xml:
##########
@@ -1385,6 +1385,28 @@
     </antcall>
   </target>
 
+  <!--
+    ant test-iteration -Dtest.name=org.apache.cassandra.service.StorageServiceServerTest -Dtest.iters=5
+    ant test-iteration -Dtest.name=org.apache.cassandra.cache.AutoSavingCacheTest -Dtest.iters=1
+    ant test-iteration -Dtest.name=org.apache.cassandra.cache.AutoSavingCacheTest -Dtest.methods=testSerializeAndLoadKeyCache -Dtest.iters=2
+    Notice: it cannot work since JDK15

Review Comment:
   I think we have already another approach in place.
   
   https://github.com/apache/cassandra/blob/trunk/.build/README.md?plain=1#L122-L131



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] CASSANDRA-20474: Ant supports repeatedly running a unit test multiple times [cassandra]

Posted by "maoling (via GitHub)" <gi...@apache.org>.
maoling commented on code in PR #4005:
URL: https://github.com/apache/cassandra/pull/4005#discussion_r2546106387


##########
build.xml:
##########
@@ -1385,6 +1385,28 @@
     </antcall>
   </target>
 
+  <!--
+    ant test-iteration -Dtest.name=org.apache.cassandra.service.StorageServiceServerTest -Dtest.iters=5
+    ant test-iteration -Dtest.name=org.apache.cassandra.cache.AutoSavingCacheTest -Dtest.iters=1
+    ant test-iteration -Dtest.name=org.apache.cassandra.cache.AutoSavingCacheTest -Dtest.methods=testSerializeAndLoadKeyCache -Dtest.iters=2
+    Notice: it cannot work since JDK15

Review Comment:
   I really didn't know there was such a tool. It works, let me close this PR
   
   ```
   ant realclean
   ant jar
   .build/run-tests.sh -a test-repeat -t AuditLogEntryTest -e REPEATED_TESTS_COUNT=10
   .build/run-tests.sh -a jvm-dtest-repeat -t BooleanTest -e REPEATED_TESTS_COUNT=2
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org