Browse Source

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

Jeffrey Morgan 10 tháng trước cách đây
mục cha
commit
dd7c9ebeaf
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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