Skip to content

Commit

Permalink
LuceneIndexStoreConfigTest should use true for throttling
Browse files Browse the repository at this point in the history
  • Loading branch information
vthacker committed Jun 19, 2023
1 parent 034541a commit d62b1c9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public void testZeroCommitDuration() {
.isThrownBy(
() ->
new LuceneIndexStoreConfig(
Duration.ZERO, Duration.ofSeconds(10), "indexRoot", "logfile", true, false));
Duration.ZERO, Duration.ofSeconds(10), "indexRoot", "logfile", true, true));
}

@Test
Expand All @@ -21,7 +21,7 @@ public void testZeroRefreshDuration() {
.isThrownBy(
() ->
new LuceneIndexStoreConfig(
Duration.ofSeconds(10), Duration.ZERO, "indexRoot", "logfile", true, false));
Duration.ofSeconds(10), Duration.ZERO, "indexRoot", "logfile", true, true));
}

@Test
Expand All @@ -35,7 +35,7 @@ public void testNegativeCommitDuration() {
"indexRoot",
"logfile",
true,
false));
true));
}

@Test
Expand All @@ -49,6 +49,6 @@ public void testNegativeRefreshDuration() {
"indexRoot",
"logfile",
true,
false));
true));
}
}

0 comments on commit d62b1c9

Please sign in to comment.