Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Remove shared subscriptions across parallel tests (#669)
In samples/snippets/noxfile.py, tests are run in parallel if pytest-parallel is installed. This resulted in tests failing in CI that did not fail locally. Because of the use of shared subscription names across tests running in parallel, some tests were deleting a subscription, while others were attempting to receive messages. This PR removes all subscription test fixtures that created and deleted subscriptions that were reused across tests in samples/snippets/subscriber_test.py, instead repeating the creation logic within each test, with a different subscription name per test, to allow tests to run in parallel without failures. Also includes unrelated formatting changes due to linting changes. Fixes #668🦕
- Loading branch information