Skip to content

Commit 1655acc

Browse files
authored
HADOOP-19250. [Addendum] Fix test TestServiceInterruptHandling.testRegisterAndRaise. (apache#7008)
Contributed by Chenyu Zheng
1 parent b404c8c commit 1655acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/service/launcher/TestServiceInterruptHandling.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class TestServiceInterruptHandling
3838
@Test
3939
public void testRegisterAndRaise() throws Throwable {
4040
InterruptCatcher catcher = new InterruptCatcher();
41-
String name = IrqHandler.CONTROL_C;
41+
String name = "USR2";
4242
IrqHandler irqHandler = new IrqHandler(name, catcher);
4343
irqHandler.bind();
4444
assertEquals(0, irqHandler.getSignalCount());

0 commit comments

Comments
 (0)