Skip to content

Commit

Permalink
Add UT
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chu <[email protected]>
  • Loading branch information
noCharger committed Oct 30, 2024
1 parent 8d3396a commit 9642d09
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,8 @@ class FlintREPLTest

val expectedCalls =
Math.ceil(inactivityLimit.toDouble / DEFAULT_QUERY_LOOP_EXECUTION_FREQUENCY).toInt
verify(mockOSClient, Mockito.atMost(expectedCalls)).getIndexMetadata(*)
verify(mockOSClient, times(1)).getIndexMetadata(*)
verify(mockOSClient, Mockito.atMost(expectedCalls)).createQueryReader(*, *, *, *)
}

val testCases = Table(
Expand Down

0 comments on commit 9642d09

Please sign in to comment.