From 5d53407cc21aa5ed11cd22e7ac47ce76a8b39fa6 Mon Sep 17 00:00:00 2001 From: akankshakumari393 Date: Sat, 23 Jul 2022 19:27:15 +0530 Subject: [PATCH] [Minor] Fix typos in the variable name in scheduling_queue_test.go --- pkg/scheduler/internal/queue/scheduling_queue_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/scheduler/internal/queue/scheduling_queue_test.go b/pkg/scheduler/internal/queue/scheduling_queue_test.go index d1d56980a8e..8333ea476c7 100644 --- a/pkg/scheduler/internal/queue/scheduling_queue_test.go +++ b/pkg/scheduler/internal/queue/scheduling_queue_test.go @@ -1724,9 +1724,9 @@ func TestIncomingPodsMetrics(t *testing.T) { } } -func checkPerPodSchedulingMetrics(name string, t *testing.T, pInfo *framework.QueuedPodInfo, wantAttemtps int, wantInitialAttemptTs time.Time) { - if pInfo.Attempts != wantAttemtps { - t.Errorf("[%s] Pod schedule attempt unexpected, got %v, want %v", name, pInfo.Attempts, wantAttemtps) +func checkPerPodSchedulingMetrics(name string, t *testing.T, pInfo *framework.QueuedPodInfo, wantAttempts int, wantInitialAttemptTs time.Time) { + if pInfo.Attempts != wantAttempts { + t.Errorf("[%s] Pod schedule attempt unexpected, got %v, want %v", name, pInfo.Attempts, wantAttempts) } if pInfo.InitialAttemptTimestamp != wantInitialAttemptTs { t.Errorf("[%s] Pod initial schedule attempt timestamp unexpected, got %v, want %v", name, pInfo.InitialAttemptTimestamp, wantInitialAttemptTs)