Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add tests for restoring the presence state after a restart. #16151

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

clokep
Copy link
Member

@clokep clokep commented Aug 21, 2023

Spun out of #16066, these are some additional tests to ensure that the restored presence state makes sense after a restart.

Requires #16150.

Base automatically changed from clokep/setup-twice to develop August 22, 2023 11:46
@clokep clokep force-pushed the clokep/presence-restore-tests branch from 4a63edf to 0b6af09 Compare August 22, 2023 11:47
@clokep clokep force-pushed the clokep/presence-restore-tests branch from 0b6af09 to 130764c Compare August 22, 2023 11:47
[
(PresenceState.BUSY, PresenceState.BUSY),
(PresenceState.ONLINE, PresenceState.ONLINE),
(PresenceState.UNAVAILABLE, PresenceState.UNAVAILABLE),
Copy link
Member Author

Choose a reason for hiding this comment

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

This one is actually wrong for the same things that #16066 fixes -- we restore to an "online" state, so an "unavailable" state shouldn't override that.

@clokep clokep marked this pull request as ready for review August 22, 2023 11:50
@clokep clokep requested a review from a team as a code owner August 22, 2023 11:50
@clokep clokep merged commit da162cb into develop Aug 23, 2023
37 checks passed
@clokep clokep deleted the clokep/presence-restore-tests branch August 23, 2023 11:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants