-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[testcore] Shared cluster pool for clusters that require WorkerService #10905
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
base: main
Are you sure you want to change the base?
Changes from all commits
bdd1214
5a001a3
f26adfb
feecf3a
c9763fb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,12 +31,13 @@ type PollerScalingIntegSuite struct { | |
| } | ||
|
|
||
| func TestPollerScalingFunctionalSuite(t *testing.T) { | ||
| testcore.UseSuiteScopedCluster(t) //nolint:staticcheck // SA1019: suite reuses one worker-service cluster to avoid per-test cluster churn. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we delete
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we still need it until we split versioning_3 suite
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, good call! |
||
| parallelsuite.RunLegacySequential(t, &PollerScalingIntegSuite{}) //nolint:staticcheck // SA1019: suite reuses one worker-service cluster to avoid per-test cluster churn. | ||
| parallelsuite.Run(t, &PollerScalingIntegSuite{}) | ||
| } | ||
|
|
||
| func (s *PollerScalingIntegSuite) setupEnv(opts ...testcore.TestOption) *testcore.TestEnv { | ||
| opts = append([]testcore.TestOption{ | ||
| testcore.WithWorkerService("poller scaling test uses worker deployment system workflows"), | ||
|
|
||
| // Force one partition so we can reliably see the backlog | ||
| testcore.WithDynamicConfig(dynamicconfig.MatchingNumTaskqueueReadPartitions, 1), | ||
| testcore.WithDynamicConfig(dynamicconfig.MatchingNumTaskqueueWritePartitions, 1), | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stephanos using the
WithMTLS()option causes more leaks, i spent a few tokens:I didn't want to add more ignores, doing this for now. But can also see a case for adding MTLS + ignore options, and then work to address those in a future PR. LMK if that's preferable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
StartGlobalMetricCaptureis good for now 👍 let's leave mTLS cleanup for after we cleaned up the current batch