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(unit): fix flaky "should return error when admin address is not allowed" test #7933

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

lobkovilya
Copy link
Contributor

Introduced a flaky test in #7909, this is a fix

Checklist prior to review

  • Link to relevant issue as well as docs and UI issues --
  • 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 --
  • Tests (Unit test, E2E tests, manual test on universal and k8s) --
  • Do you need to update UPGRADE.md? --
  • 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) --
  • Do you need to explicitly set a > Changelog: entry here or add a ci/ label to run fewer/more tests?

@lobkovilya lobkovilya requested a review from a team as a code owner September 29, 2023 15:56
@lobkovilya lobkovilya requested review from jakubdyszkiewicz and bartsmykla and removed request for a team September 29, 2023 15:56
@lobkovilya lobkovilya changed the title fix(kuma-cp): use SortedKeys function in error msg test(unit): fix flaky "should return error when admin address is not allowed" test Sep 29, 2023
@lobkovilya lobkovilya enabled auto-merge (squash) September 29, 2023 15:57
@lobkovilya lobkovilya merged commit 0c6694e into kumahq:master Sep 29, 2023
8 checks passed
@lobkovilya lobkovilya deleted the fix/use-sortedkeys-in-err-msg branch September 29, 2023 18:09
lobkovilya added a commit that referenced this pull request Oct 3, 2023
…allowed" test (#7933)

fix(kuma-cp): use SortedKeys function in error msg

Signed-off-by: Ilya Lobkov <[email protected]>
lobkovilya added a commit that referenced this pull request Oct 3, 2023
…allowed" test (#7933)

fix(kuma-cp): use SortedKeys function in error msg

Signed-off-by: Ilya Lobkov <[email protected]>
lobkovilya added a commit that referenced this pull request Oct 3, 2023
…allowed" test (#7933)

fix(kuma-cp): use SortedKeys function in error msg

Signed-off-by: Ilya Lobkov <[email protected]>
lobkovilya added a commit that referenced this pull request Oct 3, 2023
…allowed" test (#7933)

fix(kuma-cp): use SortedKeys function in error msg

Signed-off-by: Ilya Lobkov <[email protected]>
michaelbeaumont added a commit that referenced this pull request Oct 5, 2023
…veness probes (backport of #7909) (#7928)

* fix(kuma-cp): specifying IPv6 Envoy Admin address breaks readiness/liveness probes (#7909)
Put a specified admin address to proxy metadata and use it when generating an admin cluster.
* test(unit): fix flaky "should return error when admin address is not allowed" test (#7933)
fix(kuma-cp): use SortedKeys function in error msg
* make SortedKeys generic
* chore(kuma-cp): improve error message for invalid admin addresses (#7934)
* update golden files

Signed-off-by: Ilya Lobkov <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Ilya Lobkov <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
michaelbeaumont added a commit that referenced this pull request Oct 5, 2023
…veness probes (backport of #7909) (#7926)

* fix(kuma-cp): specifying IPv6 Envoy Admin address breaks readiness/liveness probes (#7909)
Put a specified admin address to proxy metadata and use it when generating an admin cluster.
* test(unit): fix flaky "should return error when admin address is not allowed" test (#7933)
fix(kuma-cp): use SortedKeys function in error msg
* make SortedKeys generic
* chore(kuma-cp): improve error message for invalid admin addresses (#7934)
* update golden files

Signed-off-by: Ilya Lobkov <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Ilya Lobkov <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
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