From 41a82c9a95d632bbea9cf13b9cf9126f92346cc0 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Wed, 2 Oct 2024 09:30:16 -0600 Subject: [PATCH] CI: parallelize 450-interactive system tests This has been running reliably for weeks in #23275 Signed-off-by: Ed Santiago --- test/system/450-interactive.bats | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/system/450-interactive.bats b/test/system/450-interactive.bats index 4536d74491..c9f8d2942d 100644 --- a/test/system/450-interactive.bats +++ b/test/system/450-interactive.bats @@ -5,17 +5,19 @@ load helpers +# bats file_tags=ci:parallel + ############################################################################### # BEGIN setup/teardown -# Each test runs with its own PTY, managed by socat. -PODMAN_TEST_PTY=$(mktemp -u --tmpdir=${BATS_TMPDIR:-/tmp} podman_pty.XXXXXX) -PODMAN_DUMMY=$(mktemp -u --tmpdir=${BATS_TMPDIR:-/tmp} podman_dummy.XXXXXX) -PODMAN_SOCAT_PID= - function setup() { basic_setup + # Each test runs with its own PTY, managed by socat. + PODMAN_TEST_PTY=$PODMAN_TMPDIR/podman_pty + PODMAN_DUMMY=$PODMAN_TMPDIR/podman_dummy + PODMAN_SOCAT_PID= + # Create a pty. Run under 'timeout' because BATS reaps child processes # and if we exit before killing socat, bats will hang forever. timeout 10 socat \