mirror of
https://github.com/containers/podman.git
synced 2025-10-15 02:06:42 +08:00
CI: parallelize 450-interactive system tests
This has been running reliably for weeks in #23275 Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -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 \
|
||||
|
Reference in New Issue
Block a user