cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beobal <>
Subject [GitHub] cassandra-dtest pull request #37: Add tests for CASSANDRA-14145
Date Tue, 18 Sep 2018 08:14:48 GMT
Github user beobal commented on a diff in the pull request:
    --- Diff: repair_tests/ ---
    @@ -207,6 +208,7 @@ def test_manual_session_fail(self):
             self.fixture_dtest_setup.setup_overrides.cluster_options = ImmutableMapping({'hinted_handoff_enabled':
'num_tokens': 1,
'commitlog_sync_period_in_ms': 500})
    +        self.fixture_dtest_setup.init_default_config()
    --- End diff --
    > I believe `self.init_default_config()` and `self.fixture_dtest_setup.init_default_config()`
are synonymous
    Hmm yeah, so it is. I find that a little non-obvious and easy to miss, but ¯\_(ツ)_/¯
    > Is it because the config changes in the preceding lines weren't actually being picked
up prior?
    Exactly, the fixture initialization order means that the cluster config has already been
set by this point and so none of these options were being used in the existing tests.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message