Skip to content

Commit

Permalink
address the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wwvela committed Oct 22, 2024
1 parent 49abbbe commit 6baf290
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/e2e/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,18 @@ var _ = Describe("[cloud-provider-aws-e2e] nodes", func() {
}
})

It("should correctly label nodes with instance type p3dn.24xlarge", func(ctx context.Context) {
It("should label nodes with topology network info if instance is supported", func(ctx context.Context) {
framework.ExpectNoError(e2enode.WaitForAllNodesSchedulable(f.ClientSet, 10*time.Minute))
nodeList, err := e2enode.GetReadySchedulableNodes(f.ClientSet)
framework.ExpectNoError(err)

if len(nodeList.Items) < 2 {
framework.Failf("Conformance requires at least two nodes")
}

clientConfig, err := framework.LoadConfig()
framework.ExpectNoError(err)

client, err := kubernetes.NewForConfig(clientConfig)
framework.ExpectNoError(err)
framework.ExpectNoError(err)
client, err := kubernetes.NewForConfig(clientConfig)
framework.ExpectNoError(err)

ssar := &authv1.SelfSubjectAccessReview{
Spec: authv1.SelfSubjectAccessReviewSpec{
Expand Down

0 comments on commit 6baf290

Please sign in to comment.