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

stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1655acc5e2d HADOOP-19250. [Addendum] Fix test 
TestServiceInterruptHandling.testRegisterAndRaise. (#7008)
1655acc5e2d is described below

commit 1655acc5e2d5fe27e01f46ea02bd5a7dea44fe12
Author: zhengchenyu <zhengcheny...@163.com>
AuthorDate: Fri Aug 30 19:05:13 2024 +0800

    HADOOP-19250. [Addendum] Fix test 
TestServiceInterruptHandling.testRegisterAndRaise. (#7008)
    
    
    Contributed by Chenyu Zheng
---
 .../apache/hadoop/service/launcher/TestServiceInterruptHandling.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/service/launcher/TestServiceInterruptHandling.java
 
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/service/launcher/TestServiceInterruptHandling.java
index c21fa8b7307..8181e07fae0 100644
--- 
a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/service/launcher/TestServiceInterruptHandling.java
+++ 
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/service/launcher/TestServiceInterruptHandling.java
@@ -38,7 +38,7 @@ public class TestServiceInterruptHandling
   @Test
   public void testRegisterAndRaise() throws Throwable {
     InterruptCatcher catcher = new InterruptCatcher();
-    String name = IrqHandler.CONTROL_C;
+    String name = "USR2";
     IrqHandler irqHandler = new IrqHandler(name, catcher);
     irqHandler.bind();
     assertEquals(0, irqHandler.getSignalCount());


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to