mirror of
https://github.com/ollama/ollama.git
synced 2025-11-10 20:17:59 +01:00
lint: enable usetesting, disable tenv (#10594)
This commit is contained in:
@@ -87,7 +87,7 @@ func TestGenerateChat(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
go s.sched.Run(context.TODO())
|
||||
go s.sched.Run(t.Context())
|
||||
|
||||
_, digest := createBinFile(t, ggml.KV{
|
||||
"general.architecture": "llama",
|
||||
@@ -631,7 +631,7 @@ func TestGenerate(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
go s.sched.Run(context.TODO())
|
||||
go s.sched.Run(t.Context())
|
||||
|
||||
_, digest := createBinFile(t, ggml.KV{
|
||||
"general.architecture": "llama",
|
||||
|
||||
Reference in New Issue
Block a user