diff options
author | Jhon Honce <jhonce@redhat.com> | 2022-02-17 09:27:46 -0700 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-02-17 12:34:05 -0500 |
commit | ae9ad416a35a23afd11426fb4a2e65e9b45bd22f (patch) | |
tree | b0319e0b779cac416a7db060b097c4f75332c14c /pkg/bindings/test/common_test.go | |
parent | 1a8c715f1fa3fb417cd7ca3cde5e1c7e5391b3f4 (diff) | |
download | podman-ae9ad416a35a23afd11426fb4a2e65e9b45bd22f.tar.gz podman-ae9ad416a35a23afd11426fb4a2e65e9b45bd22f.tar.bz2 podman-ae9ad416a35a23afd11426fb4a2e65e9b45bd22f.zip |
Fix manifest 4.0 Endpoints
Branch forced 4.0 only endpoints
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/bindings/test/common_test.go')
-rw-r--r-- | pkg/bindings/test/common_test.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/bindings/test/common_test.go b/pkg/bindings/test/common_test.go index f51e5f404..b75588251 100644 --- a/pkg/bindings/test/common_test.go +++ b/pkg/bindings/test/common_test.go @@ -8,6 +8,7 @@ import ( "os/exec" "path/filepath" "strings" + "testing" "time" "github.com/containers/podman/v4/libpod/define" @@ -151,7 +152,12 @@ func createTempDirInTempDir() (string, error) { } func (b *bindingTest) startAPIService() *gexec.Session { - cmd := []string{"--log-level=debug", "system", "service", "--timeout=0", b.sock} + logLevel := "debug" + if testing.Verbose() { + logLevel = "trace" + } + + cmd := []string{"--log-level=" + logLevel, "system", "service", "--timeout=0", b.sock} session := b.runPodman(cmd) sock := strings.TrimPrefix(b.sock, "unix://") |