Skip to content

Commit 93c9085

Browse files
authored
Merge pull request kubernetes#85973 from msau42/fix-e2e
Disable broken pd e2e test
2 parents a6f41a4 + 2e6d6d7 commit 93c9085

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/e2e/storage/pd.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,12 @@ var _ = utils.SIGDescribe("Pod Disks", func() {
321321
disruptOp int // disruptive operation performed on target node
322322
}
323323
tests := []testT{
324-
{
325-
descr: "node is deleted",
326-
disruptOp: deleteNode,
327-
},
324+
// https://github.com/kubernetes/kubernetes/issues/85972
325+
// This test case is flawed. Disabling for now.
326+
// {
327+
// descr: "node is deleted",
328+
// disruptOp: deleteNode,
329+
// },
328330
{
329331
descr: "node's API object is deleted",
330332
disruptOp: deleteNodeObj,
@@ -405,7 +407,7 @@ var _ = utils.SIGDescribe("Pod Disks", func() {
405407
framework.ExpectEqual(numNodes, origNodeCnt, fmt.Sprintf("Requires current node count (%d) to return to original node count (%d)", numNodes, origNodeCnt))
406408
output, err = gceCloud.ListInstanceNames(framework.TestContext.CloudConfig.ProjectID, framework.TestContext.CloudConfig.Zone)
407409
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)))
410+
framework.ExpectEqual(true, strings.Contains(string(output), string(host0Name)))
409411

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

0 commit comments

Comments
 (0)