Skip to content

Migrate activity_api_batch_unpause_test to testEnv pattern#9677

Open
chaptersix wants to merge 1 commit intotemporalio:mainfrom
chaptersix:activity-api-batch-unpause-test-env
Open

Migrate activity_api_batch_unpause_test to testEnv pattern#9677
chaptersix wants to merge 1 commit intotemporalio:mainfrom
chaptersix:activity-api-batch-unpause-test-env

Conversation

@chaptersix
Copy link
Copy Markdown
Contributor

Summary

  • Replace suite-based ActivityApiBatchUnpauseClientTestSuite with function-based subtests using testcore.NewEnv()
  • Convert createWorkflow from a suite method to a local function
  • Use WorkerTaskQueue() instead of TaskQueue() per the new pattern

Test plan

  • go test -tags disable_grpc_modules,test_dep -run TestActivityApiBatchUnpauseClientTestSuite ./tests/... passes
  • make lint passes with 0 issues

@chaptersix chaptersix force-pushed the activity-api-batch-unpause-test-env branch from fdae09d to 55f6022 Compare March 26, 2026 19:40
Replace suite-based test with function-based subtests using
testcore.NewEnv(), following the standard migration pattern.
@chaptersix chaptersix force-pushed the activity-api-batch-unpause-test-env branch from 55f6022 to c0678eb Compare March 26, 2026 19:48
@chaptersix chaptersix marked this pull request as ready for review March 26, 2026 19:48
@chaptersix chaptersix requested review from a team as code owners March 26, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant