Skip to content

Commit 75915d6

Browse files
committed
tidy
1 parent e297dce commit 75915d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/controller/kube_controller_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,12 @@ func TestClusterVersionScheduler_reconcile_Integration(t *testing.T) {
313313
expectedError: true,
314314
},
315315
// Platform-specific version format tests (metadata handling)
316+
// EKS and GKE platform versions
316317
{
317318
name: "EKS version format - up to date",
318319
currentVersion: "v1.28.2-eks-a5565ad",
319320
latestVersion: "v1.28.2",
320-
channel: "stable", // Always compare against upstream Kubernetes
321+
channel: "stable",
321322
expectedUpToDate: true,
322323
expectedError: false,
323324
},
@@ -709,13 +710,12 @@ func TestClusterVersionScheduler_runScheduler(t *testing.T) {
709710
client: fakeClient,
710711
log: logger,
711712
metrics: metricsInstance,
712-
interval: 30 * time.Millisecond, // Very short interval for testing
713+
interval: 30 * time.Millisecond,
713714
channel: "stable",
714715
},
715716
testServerURL: server.URL,
716717
}
717718

718-
// Run the scheduler for a short time
719719
ctx, cancel := context.WithTimeout(context.Background(), 100*time.Millisecond)
720720
defer cancel()
721721

0 commit comments

Comments
 (0)