[
https://issues.apache.org/jira/browse/CASSANDRA-17937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17611598#comment-17611598
]
Andres de la Peña edited comment on CASSANDRA-17937 at 9/30/22 1:50 PM:
------------------------------------------------------------------------
Here are the patches increasing all the default numbers of iterations from 100
to 500:
||Patch||CI||
|[3.0
|https://github.com/adelapena/cassandra/tree/17937-3.0]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2095/workflows/9e769a63-5eae-4d63-8bed-57dbdb76c65e]|
|[3.11
|https://github.com/adelapena/cassandra/tree/17937-3.11]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2097/workflows/9bf95a87-d7c7-4a39-87d4-5400fe23d1b1]|
|[4.0
|https://github.com/adelapena/cassandra/tree/17937-4.0]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2094/workflows/57565989-464c-4f20-8413-b89d4054eef7]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/2094/workflows/dc963317-f891-4059-a4f5-ae106cb0ff2d]|
|[4.1
|https://github.com/adelapena/cassandra/tree/17937-4.1]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2094/workflows/57565989-464c-4f20-8413-b89d4054eef7]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/2094/workflows/dc963317-f891-4059-a4f5-ae106cb0ff2d]|
|[trunk|https://github.com/adelapena/cassandra/tree/17937-trunk]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2096/workflows/36764700-92e4-4ea7-81fd-a786f941fbe3]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/2096/workflows/a6395e1c-7de0-426f-8a5f-2d863cdb7647]|
The change is mostly trivial, but it's probably worth a CI run. I have
generated the config for tests with:
{code:java}
.circleci/generate.sh -m \
-e REPEATED_UTEST_TARGET=testsome \
-e REPEATED_UTEST_CLASS=org.apache.cassandra.cql3.functions.TimeFctsTest \
-e
REPEATED_JVM_UPGRADE_DTEST_CLASS=org.apache.cassandra.distributed.upgrade.PagingTest
\
-e
REPEATED_DTEST_NAME=compaction_test.py::TestCompaction::test_compaction_throughput
\
-e
REPEATED_UPGRADE_DTEST_NAME=upgrade_tests/cql_tests.py::TestCQLNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x
{code}
There is no particular reason for choosing those repeated tests instead of
others. They are there just to verify that the default number of repetitions is
correct.
was (Author: adelapena):
Here are the patches increasing all the default numbers of iterations from 100
to 500:
||Patch||CI||
|[3.0
|https://github.com/adelapena/cassandra/tree/17937-3.0]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2095/workflows/9e769a63-5eae-4d63-8bed-57dbdb76c65e]|
|[3.11
|https://github.com/adelapena/cassandra/tree/17937-3.11]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2097/workflows/9bf95a87-d7c7-4a39-87d4-5400fe23d1b1]|
|[4.0
|https://github.com/adelapena/cassandra/tree/17937-4.0]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2094/workflows/57565989-464c-4f20-8413-b89d4054eef7]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/2094/workflows/dc963317-f891-4059-a4f5-ae106cb0ff2d]|
|[4.1
|https://github.com/adelapena/cassandra/tree/17937-4.1]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2094/workflows/57565989-464c-4f20-8413-b89d4054eef7]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/2094/workflows/dc963317-f891-4059-a4f5-ae106cb0ff2d]|
|[trunk|https://github.com/adelapena/cassandra/tree/17937-trunk]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2096/workflows/36764700-92e4-4ea7-81fd-a786f941fbe3]
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/2096/workflows/a6395e1c-7de0-426f-8a5f-2d863cdb7647]|
The change is mostly trivial, but it's probably worth a CI run. I have
generated the config for tests with:
{code}
.circleci/generate.sh -m \
-e REPEATED_UTEST_TARGET=testsome \
-e REPEATED_UTEST_CLASS=org.apache.cassandra.cql3.functions.TimeFctsTest \
-e
REPEATED_JVM_UPGRADE_DTEST_CLASS=org.apache.cassandra.distributed.upgrade.PagingTest
\
-e
REPEATED_DTEST_NAME=compaction_test.py::TestCompaction::test_compaction_throughput
\
-e
REPEATED_UPGRADE_DTEST_NAME=upgrade_tests/cql_tests.py::TestCQLNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x
{code}
There is no particular reason to choose those repeated tests, they are there
just to verify that the default number of repetitions is correct.
> CircleCI: Increase the default number of repeated test iterations
> -----------------------------------------------------------------
>
> Key: CASSANDRA-17937
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17937
> Project: Cassandra
> Issue Type: Task
> Components: CI
> Reporter: Andres de la Peña
> Assignee: Andres de la Peña
> Priority: Normal
>
> The current default number of iterations in the test multiplexer is 100. That
> number was arbitrary chosen during CASSANDRA-16625. However, our recent
> experience has shown that 100 iterations are not enough in many cases, as
> [discussed in the mail
> list|https://lists.apache.org/thread/o166v7nr9lxnzdy5511tv40rr9t6zbrw]. The
> purpose of this ticket is increasing that default number of iterations to
> something that we consider more useful, possibly 500.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]