Merge production prebuild test fixes into frozen release
This commit is contained in:
@@ -25,4 +25,29 @@
|
|||||||
<dependency><groupId>com.h2database</groupId><artifactId>h2</artifactId><scope>test</scope></dependency>
|
<dependency><groupId>com.h2database</groupId><artifactId>h2</artifactId><scope>test</scope></dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId></plugin></plugins></build>
|
<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId></plugin></plugins></build>
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>ci-bounded</id>
|
||||||
|
<build><plugins><plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>default-test</id>
|
||||||
|
<configuration><excludes><exclude>**/*SqlSemanticTest.java</exclude></excludes></configuration>
|
||||||
|
</execution>
|
||||||
|
<!-- H2复杂查询规划与普通单测分进程,仍沿用父级1GB上限并执行全部断言。 -->
|
||||||
|
<execution>
|
||||||
|
<id>sql-semantic-tests</id>
|
||||||
|
<phase>test</phase>
|
||||||
|
<goals><goal>test</goal></goals>
|
||||||
|
<configuration>
|
||||||
|
<includes><include>**/*SqlSemanticTest.java</include></includes>
|
||||||
|
<reuseForks>false</reuseForks>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin></plugins></build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
+2
-1
@@ -9,8 +9,9 @@ import java.util.stream.IntStream;
|
|||||||
import static org.junit.jupiter.api.Assertions.*;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|
||||||
class ReturnBusinessNumberTest {
|
class ReturnBusinessNumberTest {
|
||||||
|
// 实物箱唛采用稳定BX编码,由CompactBusinessNumberServiceTest校验;此处仅验证独立业务编号。
|
||||||
private static final Map<String, String> TYPES = Map.of("RETURN", "RT", "RETURN_RECEIPT", "RR",
|
private static final Map<String, String> TYPES = Map.of("RETURN", "RT", "RETURN_RECEIPT", "RR",
|
||||||
"RETURN_BATCH", "RB", "RETURN_CARTON", "RC", "RETURN_RELABEL", "RETU");
|
"RETURN_BATCH", "RB", "RETURN_RELABEL", "RETU");
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void formerlyCollidingInternalIdsAndRepeatedIdsNoLongerDetermineBusinessNumbers() {
|
void formerlyCollidingInternalIdsAndRepeatedIdsNoLongerDetermineBusinessNumbers() {
|
||||||
|
|||||||
Reference in New Issue
Block a user