Skip to content

Commit

Permalink
Merge pull request #24391 from edsantiago/parallelize-450
Browse files Browse the repository at this point in the history
CI: parallelize 450-interactive system tests
  • Loading branch information
openshift-merge-bot[bot] authored Oct 28, 2024
2 parents 0962a1e + 41a82c9 commit 19f7be8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions test/system/450-interactive.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

1 comment on commit 19f7be8

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

podman-next COPR build failed. @containers/packit-build please check.

Please sign in to comment.