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

Add functional test for shard reload during update #4437

Merged

Conversation

alexshtin
Copy link
Member

What changed?
Add functional test for shard reload during update.

Why?
Improve code coverage.

How did you test it?
Run it.

Potential risks
No risks.

Is hotfix candidate?
No.

@alexshtin alexshtin requested a review from a team as a code owner June 3, 2023 04:06
@alexshtin alexshtin requested review from mmcshane and yycptt June 3, 2023 04:07
})
s.NoError(err)

_, err = s.adminClient.CloseShard(NewContext(), &adminservice.CloseShardRequest{
Copy link
Contributor

Choose a reason for hiding this comment

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

So does this actually do what the function name implies?

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, it least it does what I want it to do: both new tests have asserts that update /WT is gone after shard is closed.

@alexshtin alexshtin merged commit d2ec969 into temporalio:master Jun 5, 2023
@alexshtin alexshtin deleted the test/speculative-wt-shard-reload branch June 5, 2023 17:07
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