Skip to content
Browse files
HBASE-26833 Addendum fix NPE in TestReplicationSource.testTerminateCl…
  • Loading branch information
Apache9 committed Mar 17, 2022
1 parent caea843 commit bd65ad42a297335a09ad862761e44ba101d97770
Showing 1 changed file with 2 additions and 2 deletions.
@@ -289,8 +289,8 @@ public void testTerminateClearsBuffer() throws Exception {
ReplicationPeer mockPeer = mock(ReplicationPeer.class);
Configuration testConf = HBaseConfiguration.create();
source.init(testConf, null, mockManager, null, mockPeer, null,
"testPeer", null, p -> OptionalLong.empty(), mock(MetricsSource.class));
source.init(testConf, null, mockManager, null, mockPeer, Mockito.mock(Server.class), "testPeer",
null, p -> OptionalLong.empty(), mock(MetricsSource.class));
ReplicationSourceWALReader reader = new ReplicationSourceWALReader(null,
conf, null, 0, null, source, null);
ReplicationSourceShipper shipper =

0 comments on commit bd65ad4

Please sign in to comment.