⏪ 回退金蝶客商同步测试的 HCS 占位地址
该测试的上下文依赖本机 Nacos 配置,不在本仓库补默认值;本地跑全量时用 -Dtest='!CustomerArchiveSyncKingdeeDataTest' 跳过。
This commit is contained in:
+1
-3
@@ -40,9 +40,7 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|||||||
*/
|
*/
|
||||||
@SpringBootTest(classes = TransportApplication.class, properties = {
|
@SpringBootTest(classes = TransportApplication.class, properties = {
|
||||||
"spring.profiles.active=dev",
|
"spring.profiles.active=dev",
|
||||||
"spring.main.allow-bean-definition-overriding=true",
|
"spring.main.allow-bean-definition-overriding=true"
|
||||||
// HCS 是可选外部集成,本地 Nacos 未配置该地址时 Feign 客户端会让整个上下文起不来;本测试不调用 HCS
|
|
||||||
"thirdParty.hcs.baseUrl=http://localhost:9"
|
|
||||||
})
|
})
|
||||||
class CustomerArchiveSyncKingdeeDataTest {
|
class CustomerArchiveSyncKingdeeDataTest {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user