mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
test(qwen3-tts-cpp): ignore the warmup error in the blocking spec
The spec only checks that warmupBatch returns once every request ends; errcheck flags the dropped error value. Assisted-by: Claude:claude-sonnet-5-5 golangci-lint Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
1 file changed
+1
-1
@@ -289,7 +289,7 @@ var _ = Describe("batch warmup", func() {
|
||||
return 0
|
||||
}
|
||||
done := make(chan struct{})
|
||||
go func() { warmupBatch(3); close(done) }()
|
||||
go func() { _ = warmupBatch(3); close(done) }()
|
||||
Eventually(done).WithTimeout(5 * time.Second).Should(BeClosed())
|
||||
Expect(texts).To(ConsistOf("Hello there.", "Hello there. Hello there.", "Hello there. Hello there. Hello there."))
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user