This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 231e198bd98 Remove unnecessary assertion in
AdvisorConfigurationLoaderTest (#37904)
231e198bd98 is described below
commit 231e198bd98299f83094a316ccc76f88ffb636b9
Author: jiangML <[email protected]>
AuthorDate: Sat Jan 31 22:59:23 2026 +0800
Remove unnecessary assertion in AdvisorConfigurationLoaderTest (#37904)
---
.../agent/core/advisor/config/AdvisorConfigurationLoaderTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/AdvisorConfigurationLoaderTest.java
b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/AdvisorConfigurationLoaderTest.java
index 1d6379f717e..4f7d2f14fb9 100644
---
a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/AdvisorConfigurationLoaderTest.java
+++
b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/AdvisorConfigurationLoaderTest.java
@@ -60,7 +60,7 @@ class AdvisorConfigurationLoaderTest {
assertAdvisor(config.getAdvisors(),
ElementMatchers.isConstructor(), "FIXTURE");
assertAdvisor(config.getAdvisors(), ElementMatchers.named("call"),
"ANOTHER");
} finally {
- assertTrue(Files.deleteIfExists(jarFile));
+ Files.deleteIfExists(jarFile);
}
}