HADOOP-19250. [Addendum] Fix test TestServiceInterruptHandling.testRegisterAndRaise. (#7008)
Contributed by Chenyu Zheng
This commit is contained in:
parent
b404c8c8f8
commit
1655acc5e2
@ -38,7 +38,7 @@ public class TestServiceInterruptHandling
|
|||||||
@Test
|
@Test
|
||||||
public void testRegisterAndRaise() throws Throwable {
|
public void testRegisterAndRaise() throws Throwable {
|
||||||
InterruptCatcher catcher = new InterruptCatcher();
|
InterruptCatcher catcher = new InterruptCatcher();
|
||||||
String name = IrqHandler.CONTROL_C;
|
String name = "USR2";
|
||||||
IrqHandler irqHandler = new IrqHandler(name, catcher);
|
IrqHandler irqHandler = new IrqHandler(name, catcher);
|
||||||
irqHandler.bind();
|
irqHandler.bind();
|
||||||
assertEquals(0, irqHandler.getSignalCount());
|
assertEquals(0, irqHandler.getSignalCount());
|
||||||
|
Loading…
Reference in New Issue
Block a user