mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-07 11:45:21 +00:00
server: longer timeout in TestRequests
(#5046)
This commit is contained in:
parent
4dc7fb9525
commit
dd7c9ebeaf
@ -150,7 +150,7 @@ func newScenario(t *testing.T, ctx context.Context, modelName string, estimatedV
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestRequests(t *testing.T) {
|
func TestRequests(t *testing.T) {
|
||||||
ctx, done := context.WithTimeout(context.Background(), time.Second)
|
ctx, done := context.WithTimeout(context.Background(), 10*time.Second)
|
||||||
defer done()
|
defer done()
|
||||||
|
|
||||||
// Same model, same request
|
// Same model, same request
|
||||||
|
Loading…
x
Reference in New Issue
Block a user