Skip to content

Commit

Permalink
Fix Node tests by removing namespace from the original object
Browse files Browse the repository at this point in the history
  • Loading branch information
pepov authored and baluchicken committed Jun 13, 2019
1 parent 05de36d commit f6f57c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -559,15 +559,15 @@ func TestIntegration(t *testing.T) {
}),
NewTestMatch("node match",
&v1.Node{
ObjectMeta: standardObjectMeta(),
ObjectMeta: metav1.ObjectMeta{GenerateName: "test-"},
Spec: v1.NodeSpec{
PodCIDR: "10.0.0.0/24",
},
// ignore due to already removed field
}).withIgnoreVersions([]string{"v1.10"}),
NewTestDiff("node diff for podcidr",
&v1.Node{
ObjectMeta: standardObjectMeta(),
ObjectMeta: metav1.ObjectMeta{GenerateName: "test-"},
Spec: v1.NodeSpec{
PodCIDR: "10.0.0.0/24",
},
Expand Down

0 comments on commit f6f57c1

Please sign in to comment.