完成单机TEST统一入口与可靠投递回归收尾
This commit is contained in:
+2
-2
@@ -12,9 +12,9 @@ class ReceivingPhotoUploadConfigurationContractTest {
|
||||
@Test
|
||||
void lastlegAcceptsTheSameTenMegabyteLimitAsFileService() throws Exception {
|
||||
String application = read("lastleg-service/src/main/resources/application.yml");
|
||||
String overseas = read("config/nacos/overseas/lastleg-service.yml");
|
||||
String testConfiguration = read("config/nacos/test/lastleg-service.yml");
|
||||
|
||||
for (String configuration : new String[]{application, overseas}) {
|
||||
for (String configuration : new String[]{application, testConfiguration}) {
|
||||
assertThat(configuration).contains(
|
||||
"max-file-size: ${LASTLEG_MULTIPART_MAX_FILE_SIZE:10MB}",
|
||||
"max-request-size: ${LASTLEG_MULTIPART_MAX_REQUEST_SIZE:11MB}");
|
||||
|
||||
+1
@@ -170,6 +170,7 @@ class InboundUnloadCompletedOutboxRelayTest {
|
||||
private LastlegEventOutbox row(EventEnvelope event) throws Exception {
|
||||
LastlegEventOutbox row = new LastlegEventOutbox();
|
||||
row.setId(9001L);
|
||||
row.setEventType(event.eventType());
|
||||
row.setEventKey("OverseasContainerUnloaded:7001");
|
||||
row.setPayloadJson(objectMapper.writeValueAsString(event));
|
||||
return row;
|
||||
|
||||
Reference in New Issue
Block a user