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: wait for IAM role propagation in migration test #14060

Merged

Conversation

palpatim
Copy link
Member

@palpatim palpatim commented Jan 7, 2025

Description of changes

Add a hardcoded delay in model-migration.test.ts to account for IAM role propagation. (I experimented with using an IAM waiter rather than a hardcoded delay, but couldn't get it to work in my local environment in the time I allocated for investigation. 20s seems a reasonable price to pay on a ~1600s total test run.)

Other changes

  • Support a new USE_FIDO_KEY environment variable when invoking cloud utilities, to add the -f flag to mwinit invocations.

Issue #, if available

Description of how you validated changes

The model-migration.test.ts E2E test, which was previously reliably failing on Linux after applying new Data package versions, now passes reliably in both Linux & Windows.

Checklist

  • PR description included
  • yarn test passes
  • Modified E2E test passes
    • E2E failures are unrelated to this change, as evidenced by those failures appearing in other E2E runs against dev
  • Pull request labels are added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@palpatim palpatim force-pushed the guest/data/palpatim.troubleshoot.policies-with-overrides branch 4 times, most recently from b261865 to c30a9a4 Compare January 7, 2025 23:59
@palpatim palpatim force-pushed the guest/data/palpatim.troubleshoot.policies-with-overrides branch from c30a9a4 to d03341d Compare January 8, 2025 16:52
@palpatim palpatim marked this pull request as ready for review January 8, 2025 20:55
@palpatim palpatim requested a review from a team as a code owner January 8, 2025 20:55
@palpatim palpatim force-pushed the guest/data/palpatim.troubleshoot.policies-with-overrides branch from d03341d to daa32ce Compare January 8, 2025 20:56
@sobolk sobolk merged commit be90f93 into dev Jan 8, 2025
5 checks passed
@sobolk sobolk deleted the guest/data/palpatim.troubleshoot.policies-with-overrides branch January 8, 2025 22:13
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.

3 participants