Skip to content

Commit 3092c2b

Browse files
committed
Resolve tablet reshard history backport conflict
Signed-off-by: xiangguangyxg <xiangguangyxg@gmail.com>
1 parent cf7a2a2 commit 3092c2b

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

fe/fe-core/src/test/java/com/starrocks/alter/reshard/TabletReshardJobMgrTest.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,10 @@
4040
import org.junit.jupiter.api.BeforeEach;
4141
import org.junit.jupiter.api.Test;
4242

43-
<<<<<<< HEAD
44-
public class TabletReshardJobMgrTest {
45-
=======
4643
import java.util.Map;
4744
import java.util.concurrent.atomic.AtomicInteger;
4845

4946
public class TabletReshardJobMgrTest {
50-
// A JMockit @Mock for a static method must itself be static, so it cannot capture a local of the
51-
// enclosing test method; the counters it writes live here instead. Reset before each test.
52-
private static final AtomicInteger NODE_COUNT_RESOLUTIONS = new AtomicInteger();
53-
5447
private static class WarnCounterAppender extends AbstractAppender {
5548
private final AtomicInteger warnCount = new AtomicInteger();
5649

@@ -70,17 +63,6 @@ int getWarnCount() {
7063
}
7164
}
7265

73-
private static void stubCountingNodeCount() {
74-
new MockUp<TabletReshardUtils>() {
75-
@Mock
76-
public static int adaptiveSplitBoundForTable(long tableId) {
77-
NODE_COUNT_RESOLUTIONS.incrementAndGet();
78-
return TabletReshardUtils.adaptiveSplitBound(8);
79-
}
80-
};
81-
}
82-
83-
>>>>>>> 005f98bba0 ([BugFix] Silence expected tablet reshard history lookup warnings (#78059))
8466
public static class TestNormalTabletReshardJob extends TabletReshardJob {
8567

8668
private long tableId = 0;

0 commit comments

Comments
 (0)