temporalio / cli

Command-line interface for running Temporal Server and interacting with Workflows, Activities, Namespaces, and other parts of Temporal
https://docs.temporal.io/cli
MIT License
252 stars 38 forks source link

Use testing.T.Cleanup() in new cli test framework #461

Closed tdeebswihart closed 8 months ago

tdeebswihart commented 8 months ago

What was changed

All manual calls to stop shared resources were replaced by calling thing.Stop as a cleanup function

Why?

We don't need to track this ourselves, we can let the testing library do it for us

tdeebswihart commented 8 months ago

Closing as we actually will want to close these manually in future tests