Skip to content

Conversation

@rekby
Copy link
Member

@rekby rekby commented Feb 22, 2023

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Run integration and unit tests in one pytest process
It is bad because leaked process/coroutines from integration test (for example background re-connection after stop docker container) may use mocked object and fail unit tests.

New behaviour

Run integration and unit tests in different processes for prevent use mocks by real code

@rekby rekby changed the title regroup tests for separate run integration and unit tests Fix flaky fail unit test from cause in integration tests Feb 22, 2023
@rekby rekby self-assigned this Feb 22, 2023
@rekby rekby closed this Feb 22, 2023
@rekby rekby reopened this Feb 22, 2023
@rekby rekby marked this pull request as ready for review February 22, 2023 18:21
@rekby rekby merged commit 7703dda into v3 Feb 22, 2023
@rekby rekby deleted the re-group-tests branch February 22, 2023 18:21
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