-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[type:feat] add Logging-Kafka Plugin e2e and make independent of Logging-rocketmq e2e #5709
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-http/src/test/java/org/apache/shenyu/e2e/testcase/http/DividePluginTest.java
@@ -81,9 +84,10 @@ public static <T extends List<?>, U extends List<?>> void waitAdmin2GatewayDataS | |||
*/ | |||
public static void waitGatewayPluginUse(final GatewayClient gatewayClient, final String pluginClass) throws Exception { | |||
Map<String, Integer> pluginMap = gatewayClient.getPlugins(); | |||
LOGGER.info("pluginMap:{}", MAPPER.writeValueAsString(pluginMap)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this log
@@ -93,6 +97,7 @@ public static void waitGatewayPluginUse(final GatewayClient gatewayClient, final | |||
Thread.sleep(10000); | |||
retryNum++; | |||
pluginMap = gatewayClient.getPlugins(); | |||
LOGGER.info("pluginMap:{}", MAPPER.writeValueAsString(pluginMap)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this log
"{\"topic\":\"shenyu-access-logging\",\"namesrvAddr\":\"shenyu-kafka:9092\",\"sampleRate\":\"1\",\"maxResponseBody\":524288,\"maxRequestBody\":524288,\"compressAlg\":\"none\"}"); | ||
adminClient.changePluginStatus("1801816010882822171", reqBody); | ||
Map<String, Integer> plugins = gatewayClient.getPlugins(); | ||
LOG.info("shenyu e2e plugin list ={}", plugins); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this log
#5529