diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 364a24b9db1..e93e075b700 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -22,6 +22,7 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#6898](https://github.com/apache/incubator-seata/pull/6898)] upgrade npmjs version in saga module
- [[#6879](https://github.com/apache/incubator-seata/pull/6879)] fix log argument mismatch issue
- [[#6902](https://github.com/apache/incubator-seata/pull/6900)] optimize readme docs
+- [[#6906](https://github.com/apache/incubator-seata/pull/6906)] h2 dependency adds test scope
### refactor:
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index ac9c9973906..771a64ad0d7 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -23,6 +23,7 @@
- [[#6879](https://github.com/apache/incubator-seata/pull/6879)] 修复日志参数不匹配问题
- [[#6898](https://github.com/apache/incubator-seata/pull/6898)] 升级 saga 模块 npmjs 版本
- [[#6902](https://github.com/apache/incubator-seata/pull/6900)] 优化 readme 文档
+- [[#6906](https://github.com/apache/incubator-seata/pull/6906)] h2依赖添加test scope
### refactor:
diff --git a/server/pom.xml b/server/pom.xml
index d74710fa619..63d34056a5d 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -226,6 +226,7 @@
com.h2database
h2
+ test