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

test(spec.timeout): try to improve against timeout failures #356

Merged
merged 3 commits into from
Aug 31, 2022

Conversation

erisu
Copy link
Member

@erisu erisu commented Aug 31, 2022

Platforms affected

test

Motivation and Context

GH Actions CI appears to hit timeout limits.

Description

I made sure the done function was called in success callback, if called, objects cleared in both before and after each, and set the jasmine default timeout to match against the playback test timeout.

Testing

Manual and GH Actions:

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change
  • Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • I've updated the documentation if necessary

@erisu erisu merged commit cececcc into apache:master Aug 31, 2022
@erisu erisu deleted the fix/ios-media-spec-timeout branch August 31, 2022 09:25
schlingel pushed a commit to schlingel/cordova-plugin-media that referenced this pull request Oct 25, 2023
* test(spec.timeout): improve safe complete for before and after each spec
* test(spec.timeout): add done to success callback
* test(spec.timeout): set DEFAULT_TIMEOUT_INTERVAL to ACTUAL_PLAYBACK_TEST_TIMEOUT
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.

1 participant