Skip to content

Conversation

@link2xt
Copy link
Collaborator

@link2xt link2xt commented Jan 18, 2024

If we wait for inviter success,
vg-member-added message may be still in flight
and reach ac2 after device resetup.

Making ac2 wait for joining the group ensures that old device receives vg-member-added message
and new device will not receive it and fail to decrypt.

Other instances of wait_for_securejoin_inviter_success() in the same tests are also replaced for reliability.

Fixes #5189

@link2xt link2xt force-pushed the link2xt/fix-flaky-securejoin-tests branch from 5a8c27e to 0d2c578 Compare January 18, 2024 13:41
@link2xt link2xt requested a review from iequidoo January 18, 2024 13:45
@link2xt
Copy link
Collaborator Author

link2xt commented Jan 18, 2024

This still managed to fail the tests, will look into it.

…ecovery

If we wait for inviter success,
vg-member-added message may be still in flight
and reach ac2 after device resetup.

Making ac2 wait for joining the group ensures that old
device receives vg-member-added message
and new device will not receive it and fail to decrypt.

Other instances of wait_for_securejoin_inviter_success()
in the same tests are also replaced for reliability.
@link2xt link2xt force-pushed the link2xt/fix-flaky-securejoin-tests branch from 0d2c578 to 86079ef Compare January 18, 2024 16:41
@link2xt
Copy link
Collaborator Author

link2xt commented Jan 18, 2024

Added skipping member added, now should work.

@link2xt link2xt merged commit e67e684 into main Jan 18, 2024
@link2xt link2xt deleted the link2xt/fix-flaky-securejoin-tests branch January 18, 2024 17:00
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.

Flaky securejoin tests

3 participants