Skip to content

Commit 4c5605f

Browse files
authored
Merge pull request #12618 from sbueringer/pr-fix-fuzz-test
🐛 Fix flaky TestFuzzyConversion (Cluster) test
2 parents f8ff7c1 + 4b64c52 commit 4c5605f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/core/v1beta1/conversion_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ func spokeCluster(in *Cluster, c randfill.Continue) {
229229
in.Spec.ClusterNetwork = nil
230230
}
231231
}
232+
233+
if in.Spec.Topology != nil && reflect.DeepEqual(in.Spec.Topology, &Topology{}) {
234+
in.Spec.Topology = nil
235+
}
232236
}
233237

234238
func spokeClusterTopology(in *Topology, c randfill.Continue) {

0 commit comments

Comments
 (0)