Skip to content

Commit f11242a

Browse files
hawjia.limlimhawjia
hawjia.lim
authored andcommitted
fix(e2e): fix npe
1 parent 4880024 commit f11242a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/e2e/automigration/automigration.go

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ var _ = ginkgo.Describe("Auto Migration", autoMigrationTestLabel, func() {
161161
ctx, dp.Name, metav1.GetOptions{},
162162
)
163163
gomega.Expect(err).NotTo(gomega.HaveOccurred())
164+
g.Expect(clusterDp.Status).ToNot(gomega.BeNil())
164165
g.Expect(clusterDp.Status.ReadyReplicas).To(gomega.Equal(replicasPerCluster))
165166
}).WithPolling(defaultPollingInterval).Should(gomega.Succeed())
166167
})

0 commit comments

Comments
 (0)