Skip to content

Commit

Permalink
fix: 修改motan插件的e2e测试
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmXu committed Jan 10, 2024
1 parent 8744738 commit 95cb3a6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@ShenYuTest.Environment(
serviceName = "shenyu-e2e-admin",
service = @ShenYuTest.ServiceConfigure(moduleName = "shenyu-e2e",
baseUrl = "http://localhost:9095",
baseUrl = "http://localhost:31095",
type = ServiceTypeEnum.SHENYU_ADMIN,
parameters = {
@ShenYuTest.Parameter(key = "username", value = "admin"),
Expand All @@ -48,7 +48,7 @@
@ShenYuTest.Environment(
serviceName = "shenyu-e2e-gateway",
service = @ShenYuTest.ServiceConfigure(moduleName = "shenyu-e2e",
baseUrl = "http://localhost:9195",
baseUrl = "http://localhost:31195",
type = ServiceTypeEnum.SHENYU_GATEWAY
)
)
Expand All @@ -74,7 +74,7 @@ static void setup(final AdminClient adminClient, final GatewayClient gatewayClie
formData.add("enabled", "true");
formData.add("role", "Proxy");
formData.add("sort", "310");
formData.add("config", "{\"registerProtocol\":\"zk\", \"registerAddress\":\"localhost:2181\"}");
formData.add("config", "{\"registerProtocol\":\"zk\", \"registerAddress\":\"shenyu-zookeeper:2181\"}");
adminClient.changePluginStatus("17", formData);
WaitDataSync.waitGatewayPluginUse(gatewayClient, "org.apache.shenyu.plugin.motan.MotanPlugin");
RestAssured.registerParser("text/plain", Parser.JSON);
Expand Down

0 comments on commit 95cb3a6

Please sign in to comment.