Skip to content

Test: Run joiners in isolated terminals - #871

Merged
roosterfish merged 3 commits into
canonical:mainfrom
roosterfish:isolated_join_env
Jul 13, 2025
Merged

Test: Run joiners in isolated terminals#871
roosterfish merged 3 commits into
canonical:mainfrom
roosterfish:isolated_join_env

Conversation

@roosterfish

@roosterfish roosterfish commented Jul 11, 2025

Copy link
Copy Markdown
Contributor

The test output is very convoluted as it prints together the output of all systems joining the cluster (as well as the initiator).
By running it in separate terminals we can ensure the outputs are not mixed.

To make this work for each joiner a new tmux session gets spawned to which we write the interactive test input.

@roosterfish
roosterfish marked this pull request as draft July 11, 2025 12:14
@roosterfish
roosterfish marked this pull request as ready for review July 11, 2025 13:11
@roosterfish roosterfish changed the title Test: Run cluster joiners in isolated terminals Test: Run joiners in isolated terminals Jul 11, 2025
Comment thread .github/actions/system-test/action.yml Outdated
The test output is very convoluted as it prints together the output of all systems joining the cluster (as well as the initiator).
By running it in separate terminals we can ensure the outputs are not mixed.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Usually the joiners exit before the initiator.
However during failures (e.g. test inputs) the joiners might still be running after the initiator exited out.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
@roosterfish
roosterfish merged commit 9462cbc into canonical:main Jul 13, 2025
26 of 27 checks passed
@roosterfish
roosterfish deleted the isolated_join_env branch July 13, 2025 13:14
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