make e2e test easier to debug

Signed-off-by: Max Jonas Werner <mail@makk.es>
pull/2748/head
Max Jonas Werner 3 years ago
parent e09078f697
commit e1def4f8ac
No known key found for this signature in database
GPG Key ID: EB525E0F02B52140

@ -37,7 +37,7 @@ func TestCheckPre(t *testing.T) {
var versions map[string]version.Info var versions map[string]version.Info
if err := json.Unmarshal([]byte(jsonOutput), &versions); err != nil { if err := json.Unmarshal([]byte(jsonOutput), &versions); err != nil {
t.Fatalf("Error unmarshalling: %v", err.Error()) t.Fatalf("Error unmarshalling '%s': %v", jsonOutput, err.Error())
} }
serverVersion := strings.TrimPrefix(versions["serverVersion"].GitVersion, "v") serverVersion := strings.TrimPrefix(versions["serverVersion"].GitVersion, "v")

Loading…
Cancel
Save