Skip to content

Commit a8ba361

Browse files
committed
expect node to be recreated with the same name
1 parent 864596f commit a8ba361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/storage/pd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ var _ = utils.SIGDescribe("Pod Disks", func() {
405405
framework.ExpectEqual(numNodes, origNodeCnt, fmt.Sprintf("Requires current node count (%d) to return to original node count (%d)", numNodes, origNodeCnt))
406406
output, err = gceCloud.ListInstanceNames(framework.TestContext.CloudConfig.ProjectID, framework.TestContext.CloudConfig.Zone)
407407
framework.ExpectNoError(err, fmt.Sprintf("Unable to get list of node instances err=%v output=%s", err, output))
408-
framework.ExpectEqual(false, strings.Contains(string(output), string(host0Name)))
408+
framework.ExpectEqual(true, strings.Contains(string(output), string(host0Name)))
409409

410410
} else if disruptOp == deleteNodeObj {
411411
ginkgo.By("deleting host0's node api object")

0 commit comments

Comments
 (0)