Skip to content

Fix flaky VA Service spec#6690

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/fix-flaky-va-api-spec
Aug 3, 2022
Merged

Fix flaky VA Service spec#6690
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/fix-flaky-va-api-spec

Conversation

@mitchellhenke
Copy link
Contributor

It looks like the expiration time encoded in the token is causing failures since it doesn't always match exactly:

{
  "inherited_proofing_auth": "mocked-auth-code-for-testing",
  "exp": 1659640373
}
{
  "inherited_proofing_auth": "mocked-auth-code-for-testing",
  "exp": 1659640374
}

This PR freezes the time to hopefully help it be a bit more reliable.

Copy link
Contributor

Choose a reason for hiding this comment

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

That space supposed to be there? I can’t tell I’m doing this on my phone.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, I think it's from the indent within the freeze_time block

Copy link
Contributor

@gangelo gangelo left a comment

Choose a reason for hiding this comment

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

LGTM ty!

[skip changelog]
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/fix-flaky-va-api-spec branch from eae9ae8 to 4058140 Compare August 3, 2022 20:04
@mitchellhenke mitchellhenke merged commit fe536ae into main Aug 3, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/fix-flaky-va-api-spec branch August 3, 2022 21:01
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.

2 participants