Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport stable/8.1] test: fix unfinished stubbing of command response writer #10639

Merged
merged 2 commits into from
Oct 7, 2022

Conversation

backport-action
Copy link
Collaborator

Description

Backport of #10605 to stable/8.1.

relates to #10604

The engine is shared across multiple tests and not stopped in-between.
With this change we only set up mocking of the response writer once and
not for every test method. This ensures that mocking does not interfere
with engine processing from previous tests which would show up as
unfinished mocking exceptions.

(cherry picked from commit 15a55cc)
(cherry picked from commit 7acd44d)
Copy link
Member

@lenaschoenburg lenaschoenburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2022

Test Results

   934 files  ±    0     934 suites  ±0   1h 55m 44s ⏱️ + 10m 49s
7 488 tests +109  7 480 ✔️ +109  8 💤 ±0  0 ±0 
7 676 runs  +109  7 668 ✔️ +109  8 💤 ±0  0 ±0 

Results for commit 49e1412. ± Comparison against base commit 19c50e5.

@zeebe-bors-camunda
Copy link
Contributor

Build succeeded:

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit aa574c4 into stable/8.1 Oct 7, 2022
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the backport-10605-to-stable/8.1 branch October 7, 2022 15:29
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.

None yet

2 participants