From ad5254ded3bb9fb830a946cf34a26fe2aa805cc3 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 5 Oct 2024 20:36:17 +0000 Subject: [PATCH] feat: show qemu/docker timeouts at tests startup --- cmd/pew.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/pew.go b/cmd/pew.go index 8a2e87f..a16c945 100644 --- a/cmd/pew.go +++ b/cmd/pew.go @@ -239,15 +239,16 @@ func (cmd *PewCmd) Run(g *Globals) (err error) { } if cmd.QemuTimeout != 0 { - log.Info().Msgf("Set qemu timeout to %s", cmd.QemuTimeout) ka.Qemu.Timeout.Duration = cmd.QemuTimeout } if cmd.DockerTimeout != 0 { - log.Info().Msgf("Set docker timeout to %s", cmd.DockerTimeout) ka.Docker.Timeout.Duration = cmd.DockerTimeout } + log.Info().Msgf("Qemu timeout: %s", ka.Qemu.Timeout.Duration) + log.Info().Msgf("Docker timeout: %s", ka.Docker.Timeout.Duration) + if cmd.Tag == "" { cmd.Tag = fmt.Sprintf("%d", time.Now().Unix()) }