8000 test: fix flaky test by ciarams87 · Pull Request #2247 · nginx/kubernetes-ingress · GitHub
[go: up one dir, main page]

Skip to content

Conversation

ciarams87
Copy link
Contributor

Proposed changes

There is a race condition getting the last log on a failed gRPC status entry (this actually generates 3 different log entries). This commit rectifies the issue by waiting until all are ready, and then checking the whole log.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

@ciarams87 ciarams87 requested review from lucacome and vepatel December 7, 2021 12:35
@github-actions github-actions bot added the bug An issue reporting a potential bug label Dec 7, 2021
@ciarams87 ciarams87 added tests Pull requests that update tests and removed bug An issue reporting a potential bug labels Dec 7, 2021
@ciarams87 ciarams87 merged commit ed3ad23 into master Dec 7, 2021
@ciarams87 ciarams87 deleted the fix/flaky-test branch December 7, 2021 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Pull requests that update tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0