Skip to content

Commit 06503f6

Browse files
authored
Fixes the unit tests for enabling point-in-time on AOS Serverless which was added in #6050. (#6136)
Signed-off-by: David Venable <dlv@amazon.com>
1 parent d1527e5 commit 06503f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

data-prepper-plugins/opensearch/src/test/java/org/opensearch/dataprepper/plugins/source/opensearch/worker/client/SearchAccessStrategyTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ void serverless_flag_true_defaults_to_search_context_type_none() {
227227
}
228228

229229
@ParameterizedTest
230-
@ValueSource(strings = {"POINT_IN_TIME", "SCROLL"})
231-
void serverless_flag_true_throws_InvalidPluginConfiguration_if_search_context_type_is_point_in_time_or_scroll(final String searchContextType) {
230+
@ValueSource(strings = {"SCROLL"})
231+
void serverless_flag_true_throws_InvalidPluginConfiguration_if_search_context_type_scroll(final String searchContextType) {
232232

233233
final AwsAuthenticationConfiguration awsAuthenticationConfiguration = mock(AwsAuthenticationConfiguration.class);
234234
when(awsAuthenticationConfiguration.isServerlessCollection()).thenReturn(true);

0 commit comments

Comments
 (0)