[
https://issues.apache.org/jira/browse/CASSANDRA-17616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540911#comment-17540911
]
Andres de la Peña commented on CASSANDRA-17616:
-----------------------------------------------
The proposed patches add a new {{REPEATED_UTEST_VNODES}} boolean property to
the config file for CircleCI. This property is analogous to the existing
property for Python dtests, {{REPEATED_DTEST_VNODES}}. Here are some CI runs
testing the new property with different use cases:
Default run:
{code}
.circleci/generate.sh -m
{code}
* 4.1
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1580/workflows/b0c5c0ff-dde8-4b75-ba35-983b15ae30d8]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1580/workflows/2b317895-f532-458d-9156-31ea06e3f405]
* trunk
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1587/workflows/595a49a5-4182-43e2-89e2-dc8c81609588]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1587/workflows/646723b5-2dfe-4f1e-9a20-adc2152d4646]
Repeated Java dtests without vnodes:
{code}
.circleci/generate.sh -m \
-e REPEATED_UTEST_TARGET=test-jvm-dtest-some \
-e REPEATED_UTEST_VNODES=false \
-e REPEATED_UTEST_COUNT=10 \
-e
REPEATED_UTEST_CLASS=org.apache.cassandra.distributed.test.guardrails.GuardrailDiskUsageTest
{code}
* 4.1
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1581/workflows/e5bf56f4-8ae1-46cc-a120-729732383e67]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1581/workflows/80906681-c507-457c-8e46-dba5a197309a]
* trunk
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1588/workflows/b5688785-e3c1-416a-8623-cf3dd130fea5]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1588/workflows/64c65cd1-3cae-4af1-9995-bc859c233396]
Repeated Java dtests with vnodes:
{code}
.circleci/generate.sh -m \
-e REPEATED_UTEST_TARGET=test-jvm-dtest-some \
-e REPEATED_UTEST_VNODES=true \
-e REPEATED_UTEST_COUNT=10 \
-e
REPEATED_UTEST_CLASS=org.apache.cassandra.distributed.test.guardrails.GuardrailDiskUsageTest
{code}
* 4.1
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1582/workflows/a459d4f5-d014-4378-bc57-7ed8e2e0a08b]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1582/workflows/5120afe9-27e7-4cb7-a665-7823630c9aa4]
* trunk
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1589/workflows/02010462-514f-475f-bd7b-e69a49a8b74f]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1589/workflows/db3f10ac-3c3b-4884-902d-b162355c4080]
Repeated run with vnodes option but with tests that don't use it:
{code}
.circleci/generate.sh -m \
-e REPEATED_UTEST_TARGET=testsome \
-e REPEATED_UTEST_VNODES=true \
-e REPEATED_UTEST_COUNT=10 \
-e REPEATED_UTEST_CLASS=org.apache.cassandra.io.sstable.CQLSSTableWriterTest \
-e REPEATED_UTEST_METHODS=testUnsortedWriter \
-e
REPEATED_JVM_UPGRADE_DTEST_CLASS=org.apache.cassandra.distributed.upgrade.GroupByTest
\
-e REPEATED_JVM_UPGRADE_DTEST_COUNT=2
{code}
* 4.1
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1583/workflows/87383926-3030-401c-b1a4-2c5d5ba41297]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1583/workflows/de6fb43b-e533-4962-a306-02ff1b84bb07]
* trunk
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1590/workflows/5f14d2a7-ad55-4157-92a2-dd190829ea5c]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1590/workflows/a81e765a-984a-4241-9d0f-8837b369e5b7]
> Add in Circle CI an option to run in a loop tests for the new
> j8_jvm_dtests_vnode job
> --------------------------------------------------------------------------------------
>
> Key: CASSANDRA-17616
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17616
> Project: Cassandra
> Issue Type: Task
> Components: CI
> Reporter: Ekaterina Dimitrova
> Assignee: Andres de la Peña
> Priority: Normal
> Fix For: 4.1-beta, 4.x
>
>
> Similar to the python dtests we need to be able to run in a loop with/without
> vnodes the in-jvm tests. Very convenient during debugging flaky tests
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]