Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

17532 4.0 #197

Open
wants to merge 2 commits into
base: cassandra-4.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 53 additions & 53 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
j8_jvm_upgrade_dtests:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 1
parallelism: 4
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -130,10 +130,10 @@ jobs:
repeated_jvm_upgrade_dtest:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -305,10 +305,10 @@ jobs:
j8_cqlsh-dtests-py2-with-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -403,7 +403,7 @@ jobs:
resource_class: medium
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -510,10 +510,10 @@ jobs:
repeated_upgrade_dtest:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: xlarge
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -632,10 +632,10 @@ jobs:
j8_cqlsh-dtests-py38-no-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -727,10 +727,10 @@ jobs:
j11_cqlsh-dtests-py3-with-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11:20210304
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -823,10 +823,10 @@ jobs:
j11_cqlsh-dtests-py3-no-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11:20210304
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -919,10 +919,10 @@ jobs:
j11_cqlsh-dtests-py38-with-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11:20210304
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1015,10 +1015,10 @@ jobs:
j8_cqlsh-dtests-py3-with-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1110,10 +1110,10 @@ jobs:
j8_cqlsh-dtests-py2-no-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1205,10 +1205,10 @@ jobs:
j11_repeated_dtest:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11:20210304
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1350,10 +1350,10 @@ jobs:
j8_repeated_dtest:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1472,10 +1472,10 @@ jobs:
j11_cqlsh-dtests-py2-with-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11:20210304
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1568,10 +1568,10 @@ jobs:
j11_dtests-with-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11:20210304
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1667,10 +1667,10 @@ jobs:
j8_dtests-no-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1743,10 +1743,10 @@ jobs:
j8_upgradetests-no-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: xlarge
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 100
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1885,7 +1885,7 @@ jobs:
resource_class: medium
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -1994,7 +1994,7 @@ jobs:
resource_class: medium
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 1
parallelism: 10
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -2200,10 +2200,10 @@ jobs:
j11_cqlsh-dtests-py2-no-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11:20210304
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -2354,7 +2354,7 @@ jobs:
resource_class: medium
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -2527,10 +2527,10 @@ jobs:
j8_dtests-with-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -2603,10 +2603,10 @@ jobs:
j11_cqlsh-dtests-py38-no-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11:20210304
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -2699,10 +2699,10 @@ jobs:
j8_jvm_dtests:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 1
parallelism: 10
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -2906,10 +2906,10 @@ jobs:
j8_cqlsh-dtests-py3-no-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -3001,10 +3001,10 @@ jobs:
j8_cqlsh-dtests-py38-with-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:20210929
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -3162,7 +3162,7 @@ jobs:
resource_class: medium
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -3385,10 +3385,10 @@ jobs:
j11_dtests-no-vnodes:
docker:
- image: apache/cassandra-testing-ubuntu2004-java11:20210304
resource_class: medium
resource_class: large
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 50
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -3487,7 +3487,7 @@ jobs:
resource_class: medium
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down Expand Up @@ -3596,7 +3596,7 @@ jobs:
resource_class: medium
working_directory: ~/
shell: /bin/bash -eo pipefail -l
parallelism: 4
parallelism: 25
steps:
- attach_workspace:
at: /home/cassandra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ private UpgradeableCluster(Builder builder)

protected IUpgradeableInstance newInstanceWrapper(int generation, Versions.Version version, IInstanceConfig config)
{
config.set(Constants.KEY_DTEST_API_CONFIG_CHECK, false);
return new Wrapper(generation, version, config);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import org.junit.Test;

import org.apache.cassandra.distributed.Constants;
import org.apache.cassandra.distributed.shared.Versions;

import static org.apache.cassandra.distributed.api.Feature.GOSSIP;
Expand All @@ -36,7 +37,11 @@ public void testNullClusteringValues() throws Throwable
{
new TestCase().nodes(1)
.upgradesFrom(v30)
.withConfig(config -> config.with(GOSSIP, NETWORK, NATIVE_PROTOCOL).set("enable_drop_compact_storage", true))
.withConfig(config -> config.with(GOSSIP, NETWORK, NATIVE_PROTOCOL)
.set("enable_drop_compact_storage", true)
// below property is conciesly set to false as we have new config in the next version
// that doesn't exist in the earlier one; we want to ignore it. (CASSANDRA-17532)
.set(Constants.KEY_DTEST_API_CONFIG_CHECK, false))
.setup(cluster -> {
String create = "CREATE TABLE %s.%s(k int, c1 int, c2 int, v int, PRIMARY KEY (k, c1, c2)) " +
"WITH compaction = { 'class':'LeveledCompactionStrategy', 'enabled':'false'} AND COMPACT STORAGE";
Expand Down
Loading