This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a commit to branch CASSANDRA-19456 in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
commit fe9d78c2613d805b31838b517df54373088fe459 Author: Brandon Williams <brandonwilli...@apache.org> AuthorDate: Tue Mar 12 06:07:27 2024 -0500 Increase commitlog size for durable writes test --- configuration_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configuration_test.py b/configuration_test.py index 3fd31e27..8dce576e 100644 --- a/configuration_test.py +++ b/configuration_test.py @@ -19,7 +19,7 @@ logger = logging.getLogger(__name__) def fixture_dtest_setup_overrides(request, dtest_config): dtest_setup_overrides = DTestSetupOverrides() if request.node.name == "test_change_durable_writes": - dtest_setup_overrides.cluster_options = ImmutableMapping({'commitlog_segment_size_in_mb': 1}) + dtest_setup_overrides.cluster_options = ImmutableMapping({'commitlog_segment_size_in_mb': 2}) return dtest_setup_overrides @@ -174,7 +174,7 @@ def write_to_trigger_fsync(session, ks, table): """ Given a session, a keyspace name, and a table name, inserts enough values to trigger an fsync to the commitlog, assuming the cluster's - commitlog_segment_size_in_mb is 1. Assumes the table's columns are + commitlog_segment_size_in_mb is 2. Assumes the table's columns are (key int, a int, b int, c int). """ """ @@ -187,7 +187,7 @@ def write_to_trigger_fsync(session, ks, table): session.prepare('INSERT INTO "{ks}"."{table}" (key, a, b, c) ' 'VALUES (?, ?, ?, ?)'.format(ks=ks, table=table)), ((x, x + 1, x + 2, x + 3) - for x in range(50000)), concurrency=5) + for x in range(500000)), concurrency=5) def commitlog_size(node): --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org