修复test和build错误

This commit is contained in:
houjinchuan
2024-07-10 18:52:37 +08:00
parent e8ccc23266
commit 40fa292815
2 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ test:
- mvn $MAVEN_CLI_OPTS clean test
only:
- merge_requests
- develop
- tags
# 构建。一般用于构建 develop 分支上的 snapshot 版本。
@@ -22,7 +23,7 @@ build:
stage: build
script:
- echo "$MAVEN_SETTINGS_XML" > /usr/share/maven/conf/settings.xml
- mvn clean site deploy -DskipTests
- mvn $MAVEN_CLI_OPTS clean package -DskipTests
only:
- develop

View File

@@ -513,7 +513,7 @@ public class FileChunkCombinerTests {
@Test
public void testPipelineDuplicateChunk() throws Exception {
CollectSink.values.clear();
long windowTime = 5;
long windowTime = 10;
//添加重复chunk
messagePackList.add(messagePackList.get(5));
messagePackList.add(messagePackList.get(15));