@@ -589,8 +589,7 @@ private void testTsFilePointNum(
589589 tsFileContainer
590590 .toTabletInsertionEvents ()
591591 .forEach (
592- event -> {
593- try {
592+ event ->
594593 event
595594 .processRowByRow (
596595 (row , collector ) -> {
@@ -602,8 +601,7 @@ private void testTsFilePointNum(
602601 }
603602 })
604603 .forEach (
605- tabletInsertionEvent1 -> {
606- try {
604+ tabletInsertionEvent1 ->
607605 tabletInsertionEvent1
608606 .processRowByRow (
609607 (row , collector ) -> {
@@ -615,8 +613,7 @@ private void testTsFilePointNum(
615613 }
616614 })
617615 .forEach (
618- tabletInsertionEvent2 -> {
619- try {
616+ tabletInsertionEvent2 ->
620617 tabletInsertionEvent2 .processTablet (
621618 (tablet , rowCollector ) ->
622619 new PipeRawTabletInsertionEvent (tablet , false )
@@ -628,19 +625,7 @@ private void testTsFilePointNum(
628625 } catch (final IOException e ) {
629626 throw new RuntimeException (e );
630627 }
631- }));
632- } catch (Exception e ) {
633- throw new RuntimeException (e );
634- }
635- });
636- } catch (Exception e ) {
637- throw new RuntimeException (e );
638- }
639- });
640- } catch (Exception e ) {
641- throw new RuntimeException (e );
642- }
643- });
628+ })))));
644629
645630 Assert .assertEquals (expectedCount , count1 .get ());
646631 Assert .assertEquals (expectedCount , count2 .get ());
0 commit comments