WIP: convert GORM to sqlc, for jobs/tasks #104304
@ -408,7 +408,7 @@ func TestSummarizeWorkerStatusesTimeout(t *testing.T) {
|
|||||||
|
|
||||||
// Force a timeout of the context. And yes, even when a nanosecond is quite
|
// Force a timeout of the context. And yes, even when a nanosecond is quite
|
||||||
// short, it is still necessary to wait.
|
// short, it is still necessary to wait.
|
||||||
time.Sleep(2 * time.Nanosecond)
|
time.Sleep(1 * time.Millisecond)
|
||||||
|
|
||||||
// Test the summary.
|
// Test the summary.
|
||||||
summary, err := f.db.SummarizeWorkerStatuses(subCtx)
|
summary, err := f.db.SummarizeWorkerStatuses(subCtx)
|
||||||
|
Loading…
Reference in New Issue
Block a user