You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by xt...@apache.org on 2025/12/02 07:35:55 UTC
(flink-agents) branch main updated: [hotfix] Remove unnecessary space to improve the pass rate of ChatModelIntegrationTest (#355)
This is an automated email from the ASF dual-hosted git repository.
xtsong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
The following commit(s) were added to refs/heads/main by this push:
new aeab38d [hotfix] Remove unnecessary space to improve the pass rate of ChatModelIntegrationTest (#355)
aeab38d is described below
commit aeab38ddbeb626aa5c9c10c9e41989df6342bcc2
Author: Eugene <me...@gmail.com>
AuthorDate: Tue Dec 2 15:35:50 2025 +0800
[hotfix] Remove unnecessary space to improve the pass rate of ChatModelIntegrationTest (#355)
---
.../apache/flink/agents/integration/test/ChatModelIntegrationTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/e2e-test/flink-agents-end-to-end-tests-integration/src/test/java/org/apache/flink/agents/integration/test/ChatModelIntegrationTest.java b/e2e-test/flink-agents-end-to-end-tests-integration/src/test/java/org/apache/flink/agents/integration/test/ChatModelIntegrationTest.java
index 85035a5..d1387b2 100644
--- a/e2e-test/flink-agents-end-to-end-tests-integration/src/test/java/org/apache/flink/agents/integration/test/ChatModelIntegrationTest.java
+++ b/e2e-test/flink-agents-end-to-end-tests-integration/src/test/java/org/apache/flink/agents/integration/test/ChatModelIntegrationTest.java
@@ -102,7 +102,7 @@ public class ChatModelIntegrationTest extends OllamaPreparationUtils {
public void checkResult(CloseableIterator<Object> results) {
List<String> expectedWords =
- List.of(" 77", "37", "89", "23", "68", "22", "26", "22", "23", "");
+ List.of("77", "37", "89", "23", "68", "22", "26", "22", "23", "");
for (String expected : expectedWords) {
Assertions.assertTrue(
results.hasNext(), "Output messages count %s is less than expected.");