Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/int/tty: increase the timeout #4260

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 3 additions & 5 deletions tests/integration/tty.bats
Expand Up @@ -171,15 +171,13 @@ function teardown() {
EOF
)

# run the exec
# Run the detached exec.
runc exec -t --pid-file pid.txt -d --console-socket "$CONSOLE_SOCKET" -p <(echo "$tty_info_with_consize_size") test_busybox
[ "$status" -eq 0 ]

# check the pid was generated
[ -e pid.txt ]

# wait for the process to finish
timeout 5 tail --pid="$(head -n 1 pid.txt)" -f /dev/null
# Wait for the exec to finish.
wait_pids_gone 100 0.5 "$(cat pid.txt)"

tty_info=$(
cat <<EOF
Expand Down