From 3369dcc6a12a3d1c7a81fcf13a3c4a71cd8da34e Mon Sep 17 00:00:00 2001 From: jiangML <1060319118@qq.com> Date: Fri, 14 Jun 2024 20:23:19 +0800 Subject: [PATCH] Remove disable from FilePluginE2EIT (#31693) * Remove disable from FilePluginE2EIT * Update file-advisors.yaml --- .../src/main/resources/META-INF/conf/file-advisors.yaml | 8 ++++++-- .../test/e2e/agent/file/FilePluginE2EIT.java | 2 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/agent/plugins/logging/type/file/src/main/resources/META-INF/conf/file-advisors.yaml b/agent/plugins/logging/type/file/src/main/resources/META-INF/conf/file-advisors.yaml index 74b2d2496bfb8..546daeb77b74a 100644 --- a/agent/plugins/logging/type/file/src/main/resources/META-INF/conf/file-advisors.yaml +++ b/agent/plugins/logging/type/file/src/main/resources/META-INF/conf/file-advisors.yaml @@ -22,5 +22,9 @@ advisors: - name: create type: method params: - - index: 3 - type: java.util.Map + - index: 0 + type: org.apache.shardingsphere.metadata.persist.MetaDataPersistService + - index: 1 + type: org.apache.shardingsphere.mode.manager.ContextManagerBuilderParameter + - index: 2 + type: org.apache.shardingsphere.infra.instance.ComputeNodeInstanceContext diff --git a/test/e2e/agent/plugins/logging/file/src/test/java/org/apache/shardingsphere/test/e2e/agent/file/FilePluginE2EIT.java b/test/e2e/agent/plugins/logging/file/src/test/java/org/apache/shardingsphere/test/e2e/agent/file/FilePluginE2EIT.java index 6dbaf1ebccb0c..7452b61a9f88a 100644 --- a/test/e2e/agent/plugins/logging/file/src/test/java/org/apache/shardingsphere/test/e2e/agent/file/FilePluginE2EIT.java +++ b/test/e2e/agent/plugins/logging/file/src/test/java/org/apache/shardingsphere/test/e2e/agent/file/FilePluginE2EIT.java @@ -22,7 +22,6 @@ import org.apache.shardingsphere.test.e2e.agent.file.asserts.ContentAssert; import org.apache.shardingsphere.test.e2e.agent.file.cases.IntegrationTestCasesLoader; import org.apache.shardingsphere.test.e2e.agent.file.cases.LogTestCase; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.condition.EnabledIf; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.api.extension.ExtensionContext; @@ -35,7 +34,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; -@Disabled("Fix me by @jiangmaolin") @ExtendWith(AgentTestActionExtension.class) class FilePluginE2EIT {