TODO: 单元测试, test.properties, test-gateway, yameConfigPath 路径能在测试环境正确
This commit is contained in:
parent
430d22b680
commit
bd1f4b577b
|
@ -18,7 +18,7 @@ import reactor.netty.http.client.HttpClientResponse;
|
|||
// TODO: 添加附加Dubbo Service for Test启动进程
|
||||
@SpringBootTest(classes= App.class, webEnvironment = WebEnvironment.RANDOM_PORT)
|
||||
@RunWith(SpringRunner.class)
|
||||
@TestPropertySource(locations = {"application.properties"})
|
||||
@TestPropertySource(locations = "test.properties", properties = {"apollo.meta=", "app.id="})
|
||||
public class TestHttp2DubboConfig {
|
||||
|
||||
@LocalServerPort
|
||||
|
|
Loading…
Reference in New Issue
Block a user