Give tests more time to run (#10306)

Fix flake failures on windows
This commit is contained in:
Daniel Hiltgen 2025-04-16 13:37:00 -07:00 committed by GitHub
parent 2fec73eef6
commit 56dc316a57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -355,7 +355,7 @@ func TestRequestsMultipleLoadedModels(t *testing.T) {
}
func TestGetRunner(t *testing.T) {
ctx, done := context.WithTimeout(context.Background(), 200*time.Millisecond)
ctx, done := context.WithTimeout(context.Background(), 3*time.Second)
defer done()
a := newScenarioRequest(t, ctx, "ollama-model-1a", 10, &api.Duration{Duration: 2 * time.Millisecond})