Skip to content

[v12] Fix tool.tsh.common.TestKube/list_kube flaky test#29999

Merged
tigrato merged 1 commit intobranch/v12from
bot/backport-29993-branch/v12
Aug 3, 2023
Merged

[v12] Fix tool.tsh.common.TestKube/list_kube flaky test#29999
tigrato merged 1 commit intobranch/v12from
bot/backport-29993-branch/v12

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Aug 3, 2023

Backport #29993 to branch/v12

Tests under `tool.tsh.common.TestKube/list_kube` were picking the leftovers of another test which defined the `$HONE/.kube/config` file. This caused the test to be flaky because depending on the tests runnning order, some kube clusters appeared as selected when running `tsh kube ls`.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@github-actions github-actions Bot added backport size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Aug 3, 2023
@tigrato tigrato added this pull request to the merge queue Aug 3, 2023
Merged via the queue into branch/v12 with commit 57c5446 Aug 3, 2023
@tigrato tigrato deleted the bot/backport-29993-branch/v12 branch August 3, 2023 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants