Skip to content

Commit d195b87

Browse files
committed
add debug to test harness
1 parent 71dca11 commit d195b87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/integration/testutils/utils.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,13 @@ func TGKEAssertGolden(assert *assert.Assertions, golden *golden.GoldenFile, clus
9494
})
9595

9696
// Cluster assertions
97+
fmt.Sprintf("DEBUG: Cluster assertions")
9798
golden.JSONPathEqs(assert, *clusterJson, clusterCheckPaths)
9899

99100
// NodePool assertions
101+
fmt.Sprintf("DEBUG: NodePool assertions")
100102
for _, nodePool := range nodePools {
103+
fmt.Sprintf("DEBUG: NodePool assertions for %s", nodePool)
101104
assert.Truef(clusterJson.Get(fmt.Sprintf("nodePools.#(name==%s).name", nodePool)).Exists(), "NodePool not found: %s", nodePool)
102105

103106
nodeCheckPaths := utils.GetTerminalJSONPaths(golden.GetJSON().Get(fmt.Sprintf("nodePools.#(name==%s)", nodePool)))

0 commit comments

Comments
 (0)