Skip to content

Commit

Permalink
Make TestClusterClassToCluster independent on request order
Browse files Browse the repository at this point in the history
Signed-off-by: Danil-Grigorev <[email protected]>
  • Loading branch information
Danil-Grigorev committed Jan 8, 2025
1 parent 8969890 commit f1456bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,7 @@ func TestClusterClassToCluster(t *testing.T) {
r := &Reconciler{Client: env.GetClient()}

requests := r.clusterClassToCluster(ctx, tt.clusterClass)
g.Expect(requests).To(Equal(tt.expected))
g.Expect(requests).To(ConsistOf(tt.expected))
})
}
}

0 comments on commit f1456bd

Please sign in to comment.