HADOOP-19250. [Addendum] Fix test TestServiceInterruptHandling.testRegisterAndRaise. (#7008)

Contributed by Chenyu Zheng
This commit is contained in:
zhengchenyu 2024-08-30 19:05:13 +08:00 committed by GitHub
parent b404c8c8f8
commit 1655acc5e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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());