From 2d0f606c81675b08b23ca956b0d758912b83a991 Mon Sep 17 00:00:00 2001 From: Tim Carter Date: Mon, 15 Jul 2024 10:29:17 +1000 Subject: [PATCH] Print to find out which field is causing panic. --- openshift-with-appstudio-test/e2e/basictests.go | 1 + 1 file changed, 1 insertion(+) diff --git a/openshift-with-appstudio-test/e2e/basictests.go b/openshift-with-appstudio-test/e2e/basictests.go index 106f751e3..fb751a24f 100644 --- a/openshift-with-appstudio-test/e2e/basictests.go +++ b/openshift-with-appstudio-test/e2e/basictests.go @@ -684,6 +684,7 @@ func runDbTests(path string, testSet string, ta *testArgs) { for _, ba := range retrievedDb.Status.BuildAttempts { baBuildRecipeValue := reflect.ValueOf(ba.Recipe) for fieldName, hasValue := range fieldsWithValues { + ta.Logf(fieldName) buildRecipeField := buildRecipeValue.FieldByName(fieldName) baBuildRecipeField := baBuildRecipeValue.FieldByName(fieldName) if hasValue && reflect.DeepEqual(buildRecipeField.Interface(), baBuildRecipeField.Interface()) {