Skip to content

Commit

Permalink
test(multi-az): set multi-az in several tests
Browse files Browse the repository at this point in the history
Because there are bugs found in multidc, multi-az scenarios we want to
test some on regular basis.

Enabled multi-az for 2 tier1 tests and reenabled 2 another that was
previously switched to simulated racks.
  • Loading branch information
soyacz authored and roydahan committed Sep 13, 2023
1 parent 641ccd4 commit 79acac2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jenkins-pipelines/longevity-cdc-100gb-4h.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)
longevityPipeline(
backend: 'aws',
region: 'eu-west-1',
availability_zone: 'a',
availability_zone: 'a,b,c',
test_name: 'longevity_test.LongevityTest.test_custom_time',
test_config: 'test-cases/longevity/longevity-cdc-100gb-4h.yaml'

Expand Down
2 changes: 1 addition & 1 deletion jenkins-pipelines/longevity-counters-multidc.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

longevityPipeline(
backend: 'aws',
availability_zone: 'a',
availability_zone: 'a,b,c',
region: '''["eu-west-1", "us-west-2", "us-east-1"]''',
test_name: 'longevity_test.LongevityTest.test_custom_time',
test_config: 'test-cases/longevity/longevity-counters-multidc.yaml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

longevityPipeline(
backend: 'aws',
availability_zone: 'a,b,c',
region: '''["eu-west-1", "eu-west-2"]''',
test_name: 'longevity_test.LongevityTest.test_custom_time',
test_config: '''["test-cases/longevity/longevity-multidc-parallel-topology-schema-changes-12h.yaml"]''',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ stress_cmd: ["cassandra-stress mixed cl=QUORUM duration=4320m -schema 'replicati
stress_read_cmd: ["cassandra-stress read cl=QUORUM duration=4320m -mode cql3 native -rate threads=50 -pop seq=1..100000000 -log interval=5"]

run_fullscan: ['{"mode": "table_and_aggregate", "ks_cf": "keyspace1.standard1", "interval": 60}']
availability_zone: 'a,b,c'
n_db_nodes: 6
n_loaders: 3
n_monitor_nodes: 1
Expand All @@ -18,6 +19,7 @@ instance_type_loader: 'c5.2xlarge'
nemesis_class_name: 'SisyphusMonkey'
nemesis_seed: '027'
nemesis_interval: 5
nemesis_add_node_cnt: 3

user_prefix: 'longevity-tls-50gb-3d'

Expand Down
3 changes: 1 addition & 2 deletions test-cases/longevity/longevity-cdc-100gb-4h.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ stress_cmd: [ "cassandra-stress user no-warmup profile=/tmp/cdc_profile.yaml ops
"cassandra-stress user no-warmup profile=/tmp/cdc_profile_preimage_postimage.yaml ops'(insert=2,read1=1,update_number=1,update_name=1,delete1=1)' cl=QUORUM duration=200m -mode cql3 native -rate threads=100"
]

availability_zone: 'a'
availability_zone: 'a,b,c'
n_db_nodes: 6
n_loaders: 2
n_monitor_nodes: 1

instance_type_db: 'i4i.4xlarge'
simulated_racks: 3

nemesis_class_name: 'SisyphusMonkey'
nemesis_seed: '009'
Expand Down
3 changes: 1 addition & 2 deletions test-cases/longevity/longevity-counters-multidc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ pre_create_keyspace: "CREATE KEYSPACE scylla_bench WITH replication = {'class':
stress_cmd: "scylla-bench -workload=uniform -mode=counter_update -replication-factor=3 -partition-count=1000 -clustering-row-count=10 -concurrency 1024 -duration 360m -validate-data"
stress_read_cmd: "scylla-bench -workload=uniform -mode=counter_read -replication-factor=3 -partition-count=1000 -clustering-row-count=10 -concurrency 512 -duration 360m -validate-data"

availability_zone: 'a'
availability_zone: 'a,b,c'
n_db_nodes: '3 3 3'
n_loaders: '1 1 1'
n_monitor_nodes: 1

simulated_racks: 3
instance_type_db: 'i4i.2xlarge'

user_prefix: longevity-counters-multidc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ stress_cmd: ["cassandra-stress write cl=LOCAL_QUORUM duration=720m -schema 'repl
"cassandra-stress user profile=/tmp/cs_multidc_si_lcs.yaml ops'(insert=1,read=1,si_read1=1,si_read2=1)' cl=LOCAL_QUORUM duration=700m -mode cql3 native -rate threads=40 -log interval=5",
]

n_db_nodes: '5 5'
availability_zone: 'a,b,c'
n_db_nodes: '6 6'
n_loaders: '2 1'
region_aware_loader: true
n_monitor_nodes: 1
Expand All @@ -21,6 +22,7 @@ nemesis_selector: [["topology_changes"],["!disruptive","schema_changes"]]
nemesis_interval: 10
nemesis_filter_seeds: false
nemesis_during_prepare: false
nemesis_add_node_cnt: 3

seeds_num: 3
round_robin: true
Expand Down

0 comments on commit 79acac2

Please sign in to comment.