Skip to content

Commit

Permalink
fixes the UT failures caused due to Identity Service (opensearch-proj…
Browse files Browse the repository at this point in the history
…ect#714) (opensearch-project#715) (opensearch-project#719)

(cherry picked from commit e25c559)

Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
  • Loading branch information
1 parent dd073b2 commit 072d7a7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void setup() {
e.printStackTrace();
}
clusterService = new ClusterService(settings, clusterSettings, threadPool);
identityService = new IdentityService(Settings.EMPTY, List.of());
identityService = new IdentityService(Settings.EMPTY, threadPool, List.of());
restController =
new RestController(
Collections.emptySet(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void init() {
UsageService usageService = new UsageService();
threadPool = new TestThreadPool("test");
nodeClient = new NodeClient(Settings.EMPTY, threadPool);
identityService = new IdentityService(Settings.EMPTY, List.of());
identityService = new IdentityService(Settings.EMPTY, threadPool, List.of());
restController =
new RestController(
Collections.emptySet(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void init() {
UsageService usageService = new UsageService();
threadPool = new TestThreadPool("test");
nodeClient = new NodeClient(Settings.EMPTY, threadPool);
identityService = new IdentityService(Settings.EMPTY, List.of());
identityService = new IdentityService(Settings.EMPTY, threadPool, List.of());
restController =
new RestController(
Collections.emptySet(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void init() {
UsageService usageService = new UsageService();
threadPool = new TestThreadPool("test");
nodeClient = new NodeClient(Settings.EMPTY, threadPool);
identityService = new IdentityService(Settings.EMPTY, List.of());
identityService = new IdentityService(Settings.EMPTY, threadPool, List.of());
restController =
new RestController(
Collections.emptySet(),
Expand Down

0 comments on commit 072d7a7

Please sign in to comment.