Merge pull request #22461 from jayunit100/skipNodeDiskFill

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2016-03-04 08:01:53 -08:00
commit 917fb4264d

View File

@ -73,7 +73,10 @@ var _ = Describe("NodeOutOfDisk [Serial] [Flaky]", func() {
c = framework.Client
nodelist := ListSchedulableNodesOrDie(c)
Expect(len(nodelist.Items)).To(BeNumerically(">", 1))
// Skip this test on small clusters. No need to fail since it is not a use
// case that any cluster of small size needs to support.
SkipUnlessNodeCountIsAtLeast(2)
unfilledNodeName = nodelist.Items[0].Name
for _, node := range nodelist.Items[1:] {