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(framework): try to fix flaky tests related to postgre db and k8s resource installation #8558

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

jijiechen
Copy link
Contributor

Try to fix flaky tests related to postgre db:

  • Connect to the newly created database instance before test cases run

Trying to fix this flaky:
https://github.com/kumahq/kuma/actions/runs/7119978753/job/19386239557#step:6:3840

Print more useful information when timeout waiting for k8s Pod to be available:

  • print Pod phase and conditions
  • print Deployment and ReplicaSet conditions

Trying to help on this flaky:
https://github.com/kumahq/kuma/actions/runs/7116642948/job/19375940607#step:10:25037

Checklist prior to review

  • Link to relevant issue as well as docs and UI issues
    • N/A
  • This will not break child repos: it doesn't hardcode values (.e.g "kumahq" as a image registry) and it will work on Windows, system specific functions like syscall.Mkfifo have equivalent implementation on the other OS
    • Confirmed
  • Tests (Unit test, E2E tests, manual test on universal and k8s)
    • N/A
    • Don't forget ci/ labels to run additional/fewer tests
      • Checked
  • Do you need to update UPGRADE.md?
    • No need
  • Does it need to be backported according to the backporting policy? (this GH action will add "backport" label based on these file globs, if you want to prevent it from adding the "backport" label use no-backport-autolabel label)
    • No backport.

…y tests

Signed-off-by: Jay Chen <1180092+jijiechen@users.noreply.github.com>
Signed-off-by: Jay Chen <1180092+jijiechen@users.noreply.github.com>
@jijiechen jijiechen requested a review from a team as a code owner December 7, 2023 07:55
@jijiechen jijiechen requested review from michaelbeaumont, Automaat, lahabana, jakubdyszkiewicz and a team and removed request for a team December 7, 2023 07:55
@jijiechen jijiechen changed the title test: try to fix flaky tests related to postgre db and k8s resource installtion test(framework): try to fix flaky tests related to postgre db and k8s resource installtion Dec 7, 2023
@jijiechen jijiechen changed the title test(framework): try to fix flaky tests related to postgre db and k8s resource installtion test(framework): try to fix flaky tests related to postgre db and k8s resource installation Dec 7, 2023
@jijiechen jijiechen merged commit b35dbfc into kumahq:master Dec 7, 2023
21 of 22 checks passed
@jijiechen jijiechen deleted the fixing-flaky-tests branch December 7, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants