Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Oct 13, 2023
1 parent 721c64f commit b98f0b3
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import static org.opensearch.sql.datasources.utils.XContentParserUtils.*;

import com.google.gson.Gson;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -64,9 +63,9 @@ public void testToMapFromJson() {
DESCRIPTION_FIELD,
"test",
ALLOWED_ROLES_FIELD,
new ArrayList<>(),
List.of("all_access"),
PROPERTIES_FIELD,
Map.of(),
Map.of("prometheus.uri", "localhost:9090"),
CONNECTOR_FIELD,
"PROMETHEUS",
RESULT_INDEX_FIELD,
Expand All @@ -79,9 +78,9 @@ public void testToMapFromJson() {
DESCRIPTION_FIELD,
"test",
ALLOWED_ROLES_FIELD,
new ArrayList<>(),
List.of("all_access"),
PROPERTIES_FIELD,
Map.of(),
Map.of("prometheus.uri", "localhost:9090"),
RESULT_INDEX_FIELD,
"");

Expand Down

0 comments on commit b98f0b3

Please sign in to comment.