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

Try adding a tolerance when waiting for token to expire (WIP, running tests to check) #1828

Closed
wants to merge 12 commits into from

Conversation

lawrence-forooghian
Copy link
Collaborator

No description provided.

This is so that we can see things like library logs, or any additional
logging we might add to help debug a test case.
… GitHub job running time limit

I’m trying to understand the reason that the upload artifacts step is
hung here [1], and I’m wondering if it’s because the job execution limit had
already been reached by my script.

[1] https://github.com/ably/ably-cocoa/runs/5979297645?check_suite_focus=true
To help with understanding issue described in 39ab787.
I’m hoping this will reduce the upload time (more by reducing the number
of files than the size).
This lets us choose the length and parallelism of our test runs.
I’ve noticed these tests intermittently failing on CI. They all wait for
the Ably service to consider a token as having expired by waiting for
its `ttl` to elapse. However, clock discrepancies between Ably servers
might mean that this doesn’t always work. So let’s try adding a bit of a
tolerance to the wait and see if it helps.

There are probably other tests that are affected similarly; these are
just the ones that caught my eye.
@lawrence-forooghian lawrence-forooghian changed the title Run pr 1823 in loop fix some tests Try adding a tolerance when waiting for token to expire (WIP, running tests to check) Nov 7, 2023
@lawrence-forooghian lawrence-forooghian deleted the run-PR-1823-in-loop-fix-some-tests branch November 14, 2023 12:33
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.

1 participant