TODO: 单元测试, test.properties, test-gateway, yameConfigPath 路径能在测试环境正确

This commit is contained in:
huangsimin 2019-08-14 18:27:06 +08:00
parent 430d22b680
commit bd1f4b577b
3 changed files with 1 additions and 1 deletions

View File

@ -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