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:
Ettore Di Giacinto committed 2026-11-03 19:19:59 +00:00
1 parent 786fd13087
commit f7028bfe09
1 file changed
+1 -1
+1 -1
View File
@@ -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."))
})