Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 24, 2024
1 parent 834e765 commit a214a78
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ void testSetSoftMinEvictableIdleDuration() {
assertEquals(Duration.ofSeconds(10), config.getSoftMinEvictableIdleDuration());
}

@Test
void testSetSoftMinEvictableIdleTime() {
config.setSoftMinEvictableIdleTime(Duration.ofSeconds(10));
assertEquals(Duration.ofSeconds(10), config.getSoftMinEvictableIdleTime());
}

@Test
void testSetSoftMinEvictableIdleTimeMillis() {
config.setSoftMinEvictableIdleTimeMillis(10_0000);
Expand Down

0 comments on commit a214a78

Please sign in to comment.