Skip to content

Commit

Permalink
dpl dump
Browse files Browse the repository at this point in the history
  • Loading branch information
programmer04 committed Oct 22, 2024
1 parent f01e826 commit 6241236
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/e2e/test_helm_install_upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,20 @@ func TestHelmUpgrade(t *testing.T) {
Name: "Gateway is programmed",
Func: func(c *assert.CollectT, cl *testutils.K8sClients) {
gatewayAndItsListenersAreProgrammedAssertion("gw-upgrade-120-123=true")(ctx, c, cl.MgrClient)

gw := getGatewayByLabelSelector("gw-upgrade-120-123=true", ctx, c, cl.MgrClient)
if !assert.NotNil(c, gw) {
return
}
deployments, err := listDataPlaneDeploymentsForGateway(c, ctx, cl.MgrClient, gw)
if err != nil {
return
}
d := &deployments[0]

t.Logf(">>> Deployment dump %q:\n%# v",
client.ObjectKeyFromObject(d), pretty.Formatter(d),
)
},
},
},
Expand Down

0 comments on commit 6241236

Please sign in to comment.