Skip to content

Commit 31cbf1f

Browse files
committed
fix unit test
1 parent 14d2322 commit 31cbf1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/worker/concurrency_auto_scaler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ func TestConcurrencyAutoScaler(t *testing.T) {
309309
eventType: autoScalerEvent(event.ContextMap()["event"].(string)),
310310
enabled: event.ContextMap()["enabled"].(bool),
311311
pollerQuota: event.ContextMap()["poller_quota"].(int64),
312-
time: event.Time.Format(testTimeFormat),
312+
time: event.ContextMap()["time"].(time.Time).Format(testTimeFormat),
313313
})
314314
}
315315
}

0 commit comments

Comments
 (0)