Skip to content

Commit

Permalink
fixing tests in LLRealtimeSegmentDataManagerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangfu0 committed Apr 7, 2021
1 parent a54f561 commit d274218
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private TableConfig createTableConfig()

private RealtimeTableDataManager createTableDataManager(TableConfig tableConfig) {
final String instanceId = "server-1";
SegmentBuildTimeLeaseExtender.getOrCreate(instanceId, new ServerMetrics(new MetricsRegistry()), _tableName);
SegmentBuildTimeLeaseExtender.getOrCreate(instanceId, new ServerMetrics(new MetricsRegistry()), tableConfig.getTableName());
RealtimeTableDataManager tableDataManager = mock(RealtimeTableDataManager.class);
when(tableDataManager.getServerInstance()).thenReturn(instanceId);
RealtimeSegmentStatsHistory statsHistory = mock(RealtimeSegmentStatsHistory.class);
Expand Down

0 comments on commit d274218

Please sign in to comment.