[x] PR title and description conform to Pull Request guidelines.
Issue #, if available:
Description of changes:AWSCognitoAuthPluginInstrumentationTests fail very frequently on CI. I've made two changes to try to make this test class more robust:
Sign out before the test starts and sleep for 1 second before proceeding - this is to ensure we are actually in the correct state before starting the test
Unsubscribe from the Hub when the test finishes. This prevents the hub from accumulating listeners.
How did you test these changes?
(Please add a line here how the changes were tested)
Documentation update required?
[x] No
[ ] Yes (Please include a PR link for the documentation update)
General Checklist
[ ] Added Unit Tests
[ ] Added Integration Tests
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
Description of changes:
AWSCognitoAuthPluginInstrumentationTests
fail very frequently on CI. I've made two changes to try to make this test class more robust:How did you test these changes? (Please add a line here how the changes were tested)
Documentation update required?
General Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.