mirror of
https://github.com/containers/podman.git
synced 2026-02-05 15:45:08 +01:00
test/system: fix log timestamp work around
We have the full nanosecond precision now also in the remote API after
commit 60a5a476d5.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -43,13 +43,6 @@ function _log_test_tail() {
|
||||
assert "$log1" =~ "^[0-9-]+T[0-9:.]+([\+-][0-9:]+|Z) test2" \
|
||||
"logs should only show last line"
|
||||
|
||||
# Sigh. I hate doing this, but podman-remote --timestamp only has 1-second
|
||||
# resolution (regular podman has sub-second). For the timestamps-differ
|
||||
# check below, we need to force a different second.
|
||||
if is_remote; then
|
||||
sleep 2
|
||||
fi
|
||||
|
||||
run_podman restart $cid
|
||||
run_podman wait $cid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user