Skip to content

Commit

Permalink
fix: default pool
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce-Soghigian committed Mar 5, 2024
1 parent 8cc40ad commit b59d84d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pkg/environment/common/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ func (env *Environment) ExpectCleanCluster() {
Expect(env.Client.List(env.Context, metaList, client.Limit(1))).To(Succeed())
if len(metaList.Items) > 0 {
for _, item := range metaList.Items {
// onl allow system-surge and general-purpose node pools to exist for nap purposes
Expect(item.GetName()).To(Or(Equal("system-surge"), Equal("general-purpose")), fmt.Sprintf("expected only system-surge and general-purpose %s to exist", gvk.Kind))
// onl allow system-surge and default node pools to exist for nap purposes
Expect(item.GetName()).To(Or(Equal("system-surge"), Equal("default")), fmt.Sprintf("expected only system-surge and general-purpose %s to exist", gvk.Kind))
}
} else {
Expect(metaList.Items).To(HaveLen(0), fmt.Sprintf("expected no %s to exist", gvk.Kind))
Expand Down

0 comments on commit b59d84d

Please sign in to comment.