mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-29 11:47:51 +00:00
Merge pull request #12546 from edsantiago/fix_failing_tests
[3.4] Fix failing tests
This commit is contained in:
commit
2d7c4beffc
2 changed files with 6 additions and 0 deletions
|
|
@ -91,6 +91,10 @@ ${cid[0]} d" "Sequential output from logs"
|
|||
|
||||
function _log_test_restarted() {
|
||||
run_podman run --log-driver=$1 --name logtest $IMAGE sh -c 'start=0; if test -s log; then start=`tail -n 1 log`; fi; seq `expr $start + 1` `expr $start + 10` | tee -a log'
|
||||
# FIXME: #9597
|
||||
# run/start is flaking for remote so let's wait for the container condition
|
||||
# to stop wasting energy until the root cause gets fixed.
|
||||
run_podman container wait --condition=exited logtest
|
||||
run_podman start -a logtest
|
||||
logfile=$(mktemp -p ${PODMAN_TMPDIR} logfileXXXXXXXX)
|
||||
$PODMAN $_PODMAN_TEST_OPTS logs -f logtest > $logfile
|
||||
|
|
|
|||
|
|
@ -49,6 +49,8 @@ function teardown() {
|
|||
# BEGIN tests
|
||||
|
||||
@test "podman detects correct tty size" {
|
||||
skip "FIXME: #10710. As of 2021-12-08, stty fails >75% of the time."
|
||||
|
||||
# Set the pty to a random size. Make rows/columns odd/even, to guarantee
|
||||
# that they can never be the same
|
||||
rows=$(( 15 + RANDOM % 60 | 1 ))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue