We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d2322 commit 31cbf1fCopy full SHA for 31cbf1f
internal/worker/concurrency_auto_scaler_test.go
@@ -309,7 +309,7 @@ func TestConcurrencyAutoScaler(t *testing.T) {
309
eventType: autoScalerEvent(event.ContextMap()["event"].(string)),
310
enabled: event.ContextMap()["enabled"].(bool),
311
pollerQuota: event.ContextMap()["poller_quota"].(int64),
312
- time: event.Time.Format(testTimeFormat),
+ time: event.ContextMap()["time"].(time.Time).Format(testTimeFormat),
313
})
314
}
315
0 commit comments