Skip to content

Migrate activity_api_batch_reset_test to testcore.NewEnv#9676

Merged
chaptersix merged 2 commits intotemporalio:mainfrom
chaptersix:activity-api-batch-reset-test-env
Mar 26, 2026
Merged

Migrate activity_api_batch_reset_test to testcore.NewEnv#9676
chaptersix merged 2 commits intotemporalio:mainfrom
chaptersix:activity-api-batch-reset-test-env

Conversation

@chaptersix
Copy link
Contributor

Summary

  • Migrate activity_api_batch_reset_test.go from suite-based pattern (FunctionalTestBase + suite.Run) to testcore.NewEnv with t.Run subtests
  • Convert createWorkflow receiver method to standalone createBatchResetWorkflow function
  • Replace s.TaskQueue() with s.WorkerTaskQueue()

Test plan

  • go build -tags disable_grpc_modules,test_dep ./tests/...
  • go test -tags disable_grpc_modules,test_dep -timeout 5m -run TestActivityApiBatchResetClientTestSuite ./tests/...
  • make lint

…ttern

Replace suite-based test structure with t.Run subtests using
testcore.NewEnv, consistent with the ongoing test migration effort.
@chaptersix chaptersix marked this pull request as ready for review March 26, 2026 19:31
@chaptersix chaptersix requested review from a team as code owners March 26, 2026 19:31
@chaptersix chaptersix merged commit 41691c9 into temporalio:main Mar 26, 2026
46 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