This is an automated email from the ASF dual-hosted git repository.
jimin pushed a commit to branch 2.5.0
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.5.0 by this push:
new d0e1a27220 optimze: optimze druid 1.2.12 ci (#7535)
d0e1a27220 is described below
commit d0e1a2722086826dd7ccbc0dc13a34caece8563f
Author: Jingliu <[email protected]>
AuthorDate: Sun Jul 13 21:59:30 2025 +0800
optimze: optimze druid 1.2.12 ci (#7535)
---
.github/workflows/test-druid.yml | 2 +-
.../org/apache/seata/server/session/db/DataBaseSessionManagerTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/test-druid.yml b/.github/workflows/test-druid.yml
index 70d29b10f7..8538ad4536 100644
--- a/.github/workflows/test-druid.yml
+++ b/.github/workflows/test-druid.yml
@@ -88,7 +88,7 @@ jobs:
- name: "Test with Maven and Druid ${{ matrix.druid }}"
run: |
if [ "${{ matrix.druid }}" = "1.2.12" ]; then
- export skip.druid.tests=false;
+ export skip_druid_tests=false;
fi
./mvnw -T 4C clean test \
-Ddruid.version=${{ matrix.druid }} \
diff --git
a/server/src/test/java/org/apache/seata/server/session/db/DataBaseSessionManagerTest.java
b/server/src/test/java/org/apache/seata/server/session/db/DataBaseSessionManagerTest.java
index 34284bcfbf..1188a6e6d9 100644
---
a/server/src/test/java/org/apache/seata/server/session/db/DataBaseSessionManagerTest.java
+++
b/server/src/test/java/org/apache/seata/server/session/db/DataBaseSessionManagerTest.java
@@ -69,7 +69,7 @@ public class DataBaseSessionManagerTest {
public static boolean isEnableDruidTest() {
// Unit test triggered a bug in Druid, see the issue
https://github.com/alibaba/druid/issues/4936
- String skipTests = System.getProperty("skip.druid.tests", "true");
+ String skipTests = System.getProperty("skip_druid_tests", "true");
return Boolean.parseBoolean(skipTests);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]