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

[ECO-4695] Unskip presense tests #1907

Merged
merged 39 commits into from
May 13, 2024
Merged

[ECO-4695] Unskip presense tests #1907

merged 39 commits into from
May 13, 2024

Conversation

maratal
Copy link
Collaborator

@maratal maratal commented Apr 21, 2024

Closes #1889

Tests look much better now - https://test-observability.herokuapp.com/repos/ably/ably-cocoa/uploads?branches%5B%5D=fix%2F1889-unskip-presense-tests-looped-5&createdBefore=&createdAfter=2024-05-06T22%3A10%3A42.078Z&failureMessage=

Further runs in a loop show that test__110__Presence__get__Query__set_of_params___waitForSync_is_true__should_wait_until_SYNC_is_complete_befo_re_returning_a_list_of_members and test__080__Presence__private_and_internal_PresenceMap_containing_only_members_that_match_the_current_connec_tionId__any_ENTER__PRESENT__UPDATE_or_LEAVE_event_that_matches_the_current_connectionId_should_be_applied_to_this_object needs investigation. Haven't seen them fail that frequently in other loops.

@github-actions github-actions bot temporarily deployed to staging/pull/1907/features April 21, 2024 23:20 Inactive
@maratal maratal changed the base branch from main to fix/1904-RTP18a April 21, 2024 23:20
@github-actions github-actions bot temporarily deployed to staging/pull/1907/jazzydoc April 21, 2024 23:25 Inactive
@maratal maratal force-pushed the fix/1889-unskip-presense-tests branch from ba3ddbb to 9cfc2fa Compare April 26, 2024 12:04
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features April 26, 2024 12:04 Inactive
@maratal maratal force-pushed the fix/1889-unskip-presense-tests branch from 9cfc2fa to 243c074 Compare April 26, 2024 12:49
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features April 26, 2024 12:49 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features April 26, 2024 13:43 Inactive
…st RTP2c test). Also reduced number of members to decrease test duration which was also unnecessary long.
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features April 26, 2024 14:35 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features April 26, 2024 19:42 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features April 28, 2024 21:39 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features May 5, 2024 16:37 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1907/jazzydoc May 5, 2024 16:41 Inactive
maratal added 2 commits May 6, 2024 19:12
…on disconnect internal presence map is kept and upon re-connect no synthesized LEAVE event appears to be sent by realtime.
…e title what is already done in test 080, but does cryptic things in its body. For example the comment

"// Should remove the "two" member that was added manually because the connectionId
 // doesn't match and it's not synthesized, it will be re-entered."
doesn't make sense to me, because the member added manually shouldn't be removed. Yes, connection after re-connect is different, but spec doesn't says to remove anything (only in case of channel FAILED or DETACHED should reset both presence maps). And the next comment line says that it will be re-entered. Yes, it will be, so it should be kept then, right? I've marked test 080 as testing spec RTP17b.
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features May 6, 2024 17:14 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1907/jazzydoc May 6, 2024 17:18 Inactive
@maratal maratal marked this pull request as ready for review May 7, 2024 12:19
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features May 7, 2024 12:21 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1907/jazzydoc May 7, 2024 12:25 Inactive
@maratal maratal marked this pull request as draft May 7, 2024 19:51
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features May 9, 2024 14:48 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1907/jazzydoc May 9, 2024 14:52 Inactive
…nection goes to CONNECTED (also it's called inside members `get` too). Also removed interception of a SYNC message, since it's not needed here - we just check that sync process was started before calling members `get` and then check if it was finished upon `get` callback (at least that's what the name of the test claims should be happening).
@github-actions github-actions bot temporarily deployed to staging/pull/1907/features May 9, 2024 16:19 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1907/jazzydoc May 9, 2024 16:22 Inactive
@maratal
Copy link
Collaborator Author

maratal commented May 10, 2024

More or less tests look good - https://test-observability.herokuapp.com/repos/ably/ably-cocoa/uploads?branches[]=fix%2F1889-unskip-presense-tests-looped-6

I don't see other than periodical timeout errors, which are "normal" for this test suite. @sacOO7

Copy link
Contributor

@sacOO7 sacOO7 left a comment

Choose a reason for hiding this comment

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

LGTM

@maratal maratal merged commit bc278a9 into main May 13, 2024
7 checks passed
@maratal maratal deleted the fix/1889-unskip-presense-tests branch May 13, 2024 12:44
@maratal maratal mentioned this pull request May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Re-enable skipped presence tests
2 participants