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

✅ Fix some spurious test failures #574

Merged
merged 4 commits into from
Dec 6, 2023

Conversation

ff137
Copy link
Collaborator

@ff137 ff137 commented Dec 6, 2023

Auth token decoding sometimes fails if the iat (issued at time) is the same second that it's being decoded ... so, introduce a leeway of 1 second, to avoid these failures.

Also, rearrange the http calls in testing of cred ex records being saved/deleted ... sometimes takes a moment for cred ex records to update state.

Copy link

sonarqubecloud bot commented Dec 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ff137 ff137 changed the title Fix some spurious test failures ✅ Fix some spurious test failures Dec 6, 2023
@ff137 ff137 self-assigned this Dec 6, 2023
@ff137 ff137 added the bug Something isn't working label Dec 6, 2023
@ff137 ff137 requested a review from cl0ete December 6, 2023 11:23
@ff137 ff137 enabled auto-merge (squash) December 6, 2023 11:23
@ff137 ff137 merged commit 2c5c10a into development Dec 6, 2023
40 checks passed
@ff137 ff137 deleted the fix/spurious-error-in-webhooks-tests branch December 6, 2023 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants