Skip to content

Commit

Permalink
test: fix node names
Browse files Browse the repository at this point in the history
Signed-off-by: vadasambar <[email protected]>
  • Loading branch information
vadasambar committed Jun 23, 2023
1 parent 44e2e4a commit 3f9749b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ func TestHasInstance(t *testing.T) {
// Case 1: correct node - present in AWS
node1 := &apiv1.Node{
ObjectMeta: metav1.ObjectMeta{
Name: "node-XXX",
Name: "node-1",
},
Spec: apiv1.NodeSpec{
ProviderID: "aws:///us-east-1a/test-instance-id",
Expand All @@ -647,7 +647,7 @@ func TestHasInstance(t *testing.T) {
// Case 2: incorrect node - fargate is unsupported
node2 := &apiv1.Node{
ObjectMeta: metav1.ObjectMeta{
Name: "fargate-XXX",
Name: "fargate-1",
},
Spec: apiv1.NodeSpec{
ProviderID: "aws:///us-east-1a/test-instance-id",
Expand All @@ -660,7 +660,7 @@ func TestHasInstance(t *testing.T) {
// Case 3: correct node - not present in AWS
node3 := &apiv1.Node{
ObjectMeta: metav1.ObjectMeta{
Name: "node-XXX",
Name: "node-2",
},
Spec: apiv1.NodeSpec{
ProviderID: "aws:///us-east-1a/test-instance-id-2",
Expand Down

0 comments on commit 3f9749b

Please sign in to comment.