|
64 | 64 |
|
65 | 65 | func TestClusterReconciler_reconcileNewlyCreatedCluster(t *testing.T) {
|
66 | 66 | defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.ClusterTopology, true)()
|
67 |
| - defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.MachinePool, true)() |
68 | 67 | g := NewWithT(t)
|
69 | 68 | timeout := 5 * time.Second
|
70 | 69 |
|
@@ -113,7 +112,6 @@ func TestClusterReconciler_reconcileNewlyCreatedCluster(t *testing.T) {
|
113 | 112 |
|
114 | 113 | func TestClusterReconciler_reconcileMultipleClustersFromOneClass(t *testing.T) {
|
115 | 114 | defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.ClusterTopology, true)()
|
116 |
| - defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.MachinePool, true)() |
117 | 115 |
|
118 | 116 | g := NewWithT(t)
|
119 | 117 | timeout := 5 * time.Second
|
@@ -166,7 +164,6 @@ func TestClusterReconciler_reconcileMultipleClustersFromOneClass(t *testing.T) {
|
166 | 164 |
|
167 | 165 | func TestClusterReconciler_reconcileUpdateOnClusterTopology(t *testing.T) {
|
168 | 166 | defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.ClusterTopology, true)()
|
169 |
| - defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.MachinePool, true)() |
170 | 167 | g := NewWithT(t)
|
171 | 168 | timeout := 300 * time.Second
|
172 | 169 |
|
@@ -258,7 +255,6 @@ func TestClusterReconciler_reconcileUpdateOnClusterTopology(t *testing.T) {
|
258 | 255 |
|
259 | 256 | func TestClusterReconciler_reconcileUpdatesOnClusterClass(t *testing.T) {
|
260 | 257 | defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.ClusterTopology, true)()
|
261 |
| - defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.MachinePool, true)() |
262 | 258 | g := NewWithT(t)
|
263 | 259 | timeout := 5 * time.Second
|
264 | 260 |
|
@@ -359,7 +355,6 @@ func TestClusterReconciler_reconcileUpdatesOnClusterClass(t *testing.T) {
|
359 | 355 |
|
360 | 356 | func TestClusterReconciler_reconcileClusterClassRebase(t *testing.T) {
|
361 | 357 | defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.ClusterTopology, true)()
|
362 |
| - defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.MachinePool, true)() |
363 | 358 | g := NewWithT(t)
|
364 | 359 | timeout := 30 * time.Second
|
365 | 360 |
|
@@ -441,7 +436,6 @@ func TestClusterReconciler_reconcileClusterClassRebase(t *testing.T) {
|
441 | 436 |
|
442 | 437 | func TestClusterReconciler_reconcileDelete(t *testing.T) {
|
443 | 438 | defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.RuntimeSDK, true)()
|
444 |
| - defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.MachinePool, true)() |
445 | 439 |
|
446 | 440 | catalog := runtimecatalog.New()
|
447 | 441 | _ = runtimehooksv1.AddToCatalog(catalog)
|
@@ -595,7 +589,6 @@ func TestClusterReconciler_reconcileDelete(t *testing.T) {
|
595 | 589 | // In this case deletion of the ClusterClass should be blocked by the webhook.
|
596 | 590 | func TestClusterReconciler_deleteClusterClass(t *testing.T) {
|
597 | 591 | defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.ClusterTopology, true)()
|
598 |
| - defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.MachinePool, true)() |
599 | 592 | g := NewWithT(t)
|
600 | 593 | timeout := 5 * time.Second
|
601 | 594 |
|
|
0 commit comments