mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 18:11:22 +00:00
Update e2e tests to list only schedulable nodes, to make them work with master Node registered.
This commit is contained in:
@@ -158,8 +158,7 @@ var _ = Describe("Density [Skipped]", func() {
|
||||
ns = framework.Namespace.Name
|
||||
var err error
|
||||
|
||||
nodes, err := c.Nodes().List(api.ListOptions{})
|
||||
expectNoError(err)
|
||||
nodes := ListSchedulableNodesOrDie(c)
|
||||
nodeCount = len(nodes.Items)
|
||||
Expect(nodeCount).NotTo(BeZero())
|
||||
|
||||
|
Reference in New Issue
Block a user