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

IMN-587 - Upgrade agreement fix #619

Merged
merged 28 commits into from
Jun 17, 2024
Merged

IMN-587 - Upgrade agreement fix #619

merged 28 commits into from
Jun 17, 2024

Conversation

Viktor-K
Copy link
Collaborator

@Viktor-K Viktor-K commented Jun 6, 2024

Close IMN-587

Description

This PR fixes the IMN-587 bug and adds tests for the corresponding Agreement flows.

🔍 Analysis

On Agreement upgrade, a new Agreement is created, and this operation resets all suspension flags - in this way, those flags are lost and thus ignored during subsequent activation.

✅ Resolution

upgrade and submit Agreement operations preserve consumer/producer suspension flags.

@ecamellini ecamellini changed the title Test bug upgrade agreement IMN-587 - Test bug upgrade agreement Jun 6, 2024
@Viktor-K Viktor-K requested a review from ecamellini June 11, 2024 07:16
@Viktor-K Viktor-K marked this pull request as ready for review June 11, 2024 09:37
@ecamellini ecamellini changed the title IMN-587 - Test bug upgrade agreement IMN-587 - Upgrade agreement fix Jun 11, 2024
Copy link
Collaborator

@ecamellini ecamellini left a comment

Choose a reason for hiding this comment

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

I took ownership of this PR and solved the comments so that @Viktor-K can focus on BFF, waiting for approval from others 👍

@ecamellini ecamellini requested review from ecamellini and removed request for ecamellini June 13, 2024 14:45
@ecamellini ecamellini dismissed their stale review June 13, 2024 14:46

Took ownership of this PR and addressed the comments

@ecamellini ecamellini removed their request for review June 13, 2024 14:46
Copy link
Collaborator

Choose a reason for hiding this comment

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

Added this test suite to reproduce the bug scenario and verify that it's solved.

@ecamellini ecamellini merged commit 66e5348 into main Jun 17, 2024
8 checks passed
@ecamellini ecamellini deleted the test-bug-upgrade-agreement branch June 17, 2024 12:49
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.

4 participants