Преглед изворни кода

server: longer timeout in `TestRequests` (#5046)

Jeffrey Morgan пре 10 месеци
родитељ
комит
dd7c9ebeaf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      server/sched_test.go

+ 1 - 1
server/sched_test.go

@@ -150,7 +150,7 @@ func newScenario(t *testing.T, ctx context.Context, modelName string, estimatedV
 }
 
 func TestRequests(t *testing.T) {
-	ctx, done := context.WithTimeout(context.Background(), time.Second)
+	ctx, done := context.WithTimeout(context.Background(), 10*time.Second)
 	defer done()
 
 	// Same model, same request