This is an automated email from the ASF dual-hosted git repository.

Caideyipi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new af6f8f52e5a [Test] Avoid metadata lease fencing in DataNode unit tests 
(#18284)
af6f8f52e5a is described below

commit af6f8f52e5a77b70b10d7322f071f1048fb07090
Author: Caideyipi <[email protected]>
AuthorDate: Tue Sep 22 18:03:14 2026 +0800

    [Test] Avoid metadata lease fencing in DataNode unit tests (#18284)
---
 iotdb-core/datanode/src/test/resources/iotdb-system.properties | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/iotdb-core/datanode/src/test/resources/iotdb-system.properties 
b/iotdb-core/datanode/src/test/resources/iotdb-system.properties
index 9e0e16caaa9..f9ddddbe1dd 100644
--- a/iotdb-core/datanode/src/test/resources/iotdb-system.properties
+++ b/iotdb-core/datanode/src/test/resources/iotdb-system.properties
@@ -28,6 +28,9 @@ dn_internal_address=0.0.0.0
 dn_sync_dir=target/sync
 dn_seed_config_node=127.0.0.1:10710
 
+# Unit tests do not receive ConfigNode heartbeats, so disable the background 
metadata lease check.
+metadata_lease_fence_ms=9223372036854775807
+
 udf_lib_dir=target/ext/udf
 trigger_lib_dir=target/ext/trigger
 pipe_lib_dir=target/ext/pipe

Reply via email to