Skip to content

Fix compilation of matching_simulation_test.go #6659

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

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

natemort
Copy link
Member

@natemort natemort commented Feb 7, 2025

What changed?

  • Fix an issue introduced in 2b99f2a that resulted in the matching simulator not compiling.

Why?

  • So the matching simulator can be used

How did you test it?

  • Ran the matching simulator

Potential risks

  • None, this is non-production code

Release notes

Documentation Changes

@@ -213,8 +213,8 @@ func (s *MatchingSimulationSuite) TestMatchingSimulation() {
TaskList: &types.TaskList{Name: tasklist, Kind: types.TaskListKindNormal.Ptr()},
TaskListType: types.TaskListTypeDecision.Ptr(),
PartitionConfig: &types.TaskListPartitionConfig{
NumReadPartitions: int32(getPartitions(s.TestClusterConfig.MatchingConfig.SimulationConfig.TaskListReadPartitions)),
NumWritePartitions: int32(getPartitions(s.TestClusterConfig.MatchingConfig.SimulationConfig.TaskListWritePartitions)),
ReadPartitions: getPartitions(s.TestClusterConfig.MatchingConfig.SimulationConfig.TaskListReadPartitions),
Copy link
Member

Choose a reason for hiding this comment

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

we should probably add at least "default" case to the CI to catch these in the future (can also validate latencies are within some range etc.)

@natemort natemort enabled auto-merge (squash) February 7, 2025 21:01
@natemort natemort merged commit 4b30b13 into cadence-workflow:master Feb 7, 2025
21 of 22 checks passed
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.

2 participants