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

chore: integ test flakiness #8124

Merged
merged 2 commits into from
May 21, 2020
Merged

chore: integ test flakiness #8124

merged 2 commits into from
May 21, 2020

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented May 21, 2020

Stacks that are being deployed using roles need to be deleted while the
role is still present. Our test was deleting the role before the stack
was being deleted, and so would fail.

This was a race condition due to a missing await.

Fix both.


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

@rix0rrr rix0rrr requested a review from eladb May 21, 2020 09:28
@rix0rrr rix0rrr self-assigned this May 21, 2020
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label May 21, 2020
Stacks that are being deployed using roles need to be deleted while the
role is still present. Our test was deleting the role before the stack
was being deleted, and so would fail.

This was a race condition due to a missing `await`.

Fix both.
@rix0rrr rix0rrr force-pushed the huijbers/fix-destroy-role branch from ab6b994 to ce9d478 Compare May 21, 2020 09:29
Copy link
Contributor

@eladb eladb left a comment

Choose a reason for hiding this comment

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

`

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: ab6b994
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@eladb eladb merged commit dadc9d1 into master May 21, 2020
@eladb eladb deleted the huijbers/fix-destroy-role branch May 21, 2020 09:33
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: ce9d478
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: fc485d1
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

karupanerura pushed a commit to karupanerura/aws-cdk that referenced this pull request May 22, 2020
Stacks that are being deployed using roles need to be deleted while the
role is still present. Our test was deleting the role before the stack
was being deleted, and so would fail.

This was a race condition due to a missing `await`.

Fix both.

Co-authored-by: Elad Ben-Israel <benisrae@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants