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

CASSANDRA-19975: to make MixedTopologyTest stable we need to know the topology to make sure each change is safe #129

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

dcapwell
Copy link
Contributor

@dcapwell dcapwell commented Oct 2, 2024

No description provided.

@@ -467,6 +480,7 @@ public <State, SystemUnderTest> void check(Commands<State, SystemUnderTest> comm
}
commands.destroySut(sut, null);
commands.destroyState(state, null);
commands.onSuccess(state, sut, history);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the test now logs the history for each seed, just for extra logging... I kept putting a break point to see this information

@@ -837,6 +860,18 @@ public CommandsBuilder<State, SystemUnderTest> unknownWeight(Gen.IntGen unknownW
return this;
}

public CommandsBuilder<State, SystemUnderTest> commandsTransformer(BiFunction<State, Gen<Command<State, SystemUnderTest, ?>>, Gen<Command<State, SystemUnderTest, ?>>> commandsTransformer)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is to move the hidden changes we do and push them into the history. stuff like changing replication favor is now going to show up in the history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant