diff --git a/test/e2e/storage/pd.go b/test/e2e/storage/pd.go index 88040aaa779..5b9645c30b9 100644 --- a/test/e2e/storage/pd.go +++ b/test/e2e/storage/pd.go @@ -405,7 +405,7 @@ var _ = utils.SIGDescribe("Pod Disks", func() { framework.ExpectEqual(numNodes, origNodeCnt, fmt.Sprintf("Requires current node count (%d) to return to original node count (%d)", numNodes, origNodeCnt)) output, err = gceCloud.ListInstanceNames(framework.TestContext.CloudConfig.ProjectID, framework.TestContext.CloudConfig.Zone) framework.ExpectNoError(err, fmt.Sprintf("Unable to get list of node instances err=%v output=%s", err, output)) - framework.ExpectEqual(false, strings.Contains(string(output), string(host0Name))) + framework.ExpectEqual(true, strings.Contains(string(output), string(host0Name))) } else if disruptOp == deleteNodeObj { ginkgo.By("deleting host0's node api object")