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

More versioning-3 tests #6910

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open

More versioning-3 tests #6910

wants to merge 27 commits into from

Conversation

carlydf
Copy link
Contributor

@carlydf carlydf commented Nov 28, 2024

What changed?

  • add specific check for SDK GetWorkflowExecutionOptions path
  • add testpoller-based test for inheriting VersioningOverride from parent to child workflow
    • as part of this, converted existing child workflow test from old poller util to new testpoller tool
  • add SDK-based test for inheriting VersioningOverride from parent to child workflow, skipped until new SDK with deployment polling is available.

Why?

How did you test it?

Potential risks

Documentation

Is hotfix candidate?

@carlydf carlydf requested a review from a team as a code owner November 28, 2024 21:03
@carlydf carlydf changed the title More versioning-3 tests - SDK GetWorkflowExecutionOptions path More versioning-3 tests Nov 30, 2024
Comment on lines +67 to +76
dynamicconfig.MatchingForwarderMaxChildrenPerNode.Key(): partitionTreeDegree,

// Make sure we don't hit the rate limiter in tests
dynamicconfig.FrontendGlobalNamespaceNamespaceReplicationInducingAPIsRPS.Key(): 1000,
dynamicconfig.FrontendMaxNamespaceNamespaceReplicationInducingAPIsBurstRatioPerInstance.Key(): 1,
dynamicconfig.FrontendNamespaceReplicationInducingAPIsRPS.Key(): 1000,

// this is overridden for tests using RunTestWithMatchingBehavior
dynamicconfig.MatchingNumTaskqueueReadPartitions.Key(): 4,
dynamicconfig.MatchingNumTaskqueueWritePartitions.Key(): 4,
Copy link
Collaborator

Choose a reason for hiding this comment

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

These configs should only be needed for tests dealing matching behaviors, I believe. can you try removing them?

}
}

func (s *DeploymentSuite) TestUpdateWorkflowExecutionOptions_ChildWorkflowWithSDK() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought we want to use verisoning_3_test for testing versioning behaviors/overrides, etc, and keep deployment_test for deployment APIs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah yes, I can move stuff over.

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.

3 participants