diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-06-10 12:50:27 +0200 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2022-06-23 09:11:57 -0400 |
commit | 15188dce0566ffcba9e7da6fbde69625f49e0e16 (patch) | |
tree | fa06a1f4c3251bca781f204dbe63a70f5a20654b /test | |
parent | 8e88abda85f7bf44b6857ad5d62c8ef58206fce5 (diff) | |
download | podman-15188dce0566ffcba9e7da6fbde69625f49e0e16.tar.gz podman-15188dce0566ffcba9e7da6fbde69625f49e0e16.tar.bz2 podman-15188dce0566ffcba9e7da6fbde69625f49e0e16.zip |
conmon: silence json-file error
We should just silently fall through. The log was flooding the
system-service logs when running Gitlab runner.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/system/030-run.bats | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats index 117d791d6..56cf4f266 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -376,17 +376,7 @@ json-file | f while read driver do_check; do msg=$(random_string 15) run_podman run --name myctr --log-driver $driver $IMAGE echo $msg - - # Simple output check - # Special case: 'json-file' emits a warning, the rest do not - # ...but with podman-remote the warning is on the server only - if [[ $do_check == 'f' ]] && ! is_remote; then # 'f' for 'fallback' - is "${lines[0]}" ".* level=error msg=\"json-file logging specified but not supported. Choosing k8s-file logging instead\"" \ - "Fallback warning emitted" - is "${lines[1]}" "$msg" "basic output sanity check (driver=$driver)" - else - is "$output" "$msg" "basic output sanity check (driver=$driver)" - fi + is "$output" "$msg" "basic output sanity check (driver=$driver)" # Simply confirm that podman preserved our argument as-is run_podman inspect --format '{{.HostConfig.LogConfig.Type}}' myctr |