Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
dd7c9ebe
Unverified
Commit
dd7c9ebe
authored
Jun 14, 2024
by
Jeffrey Morgan
Committed by
GitHub
Jun 14, 2024
Browse files
server: longer timeout in `TestRequests` (#5046)
parent
4dc7fb95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/sched_test.go
server/sched_test.go
+1
-1
No files found.
server/sched_test.go
View file @
dd7c9ebe
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment