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

lhotari pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new b30701034613 [fix][ci][branch-4.0] Skip 
testMarkReplicatedDeletesEmptyParentNodes for Etcd
b30701034613 is described below

commit b3070103461331470de61673a0aa220db1551bc1
Author: Lari Hotari <[email protected]>
AuthorDate: Thu Jul 9 15:24:57 2026 +0300

    [fix][ci][branch-4.0] Skip testMarkReplicatedDeletesEmptyParentNodes for 
Etcd
    
    - #26158 hasn't been implemented for Etcd
---
 .../pulsar/metadata/bookkeeper/LedgerUnderreplicationManagerTest.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/pulsar-metadata/src/test/java/org/apache/pulsar/metadata/bookkeeper/LedgerUnderreplicationManagerTest.java
 
b/pulsar-metadata/src/test/java/org/apache/pulsar/metadata/bookkeeper/LedgerUnderreplicationManagerTest.java
index 6508e6943eec..1c9231c3084f 100644
--- 
a/pulsar-metadata/src/test/java/org/apache/pulsar/metadata/bookkeeper/LedgerUnderreplicationManagerTest.java
+++ 
b/pulsar-metadata/src/test/java/org/apache/pulsar/metadata/bookkeeper/LedgerUnderreplicationManagerTest.java
@@ -62,6 +62,7 @@ import org.apache.pulsar.metadata.api.MetadataStoreConfig;
 import org.apache.pulsar.metadata.api.NotificationType;
 import org.apache.pulsar.metadata.api.extended.MetadataStoreExtended;
 import org.awaitility.Awaitility;
+import org.testng.SkipException;
 import org.testng.annotations.AfterMethod;
 import org.testng.annotations.Test;
 
@@ -303,6 +304,9 @@ public class LedgerUnderreplicationManagerTest extends 
BaseMetadataStoreTest {
     @Test(dataProvider = "distributedImpl", timeOut = 10000)
     public void testMarkReplicatedDeletesEmptyParentNodes(String provider, 
Supplier<String> urlSupplier)
             throws Exception {
+        if (provider.equals("Etcd")) {
+            throw new SkipException("Etcd doesn't support deleting empty 
parent nodes");
+        }
         methodSetup(urlSupplier);
 
         String missingReplica = "localhost:3181";

Reply via email to