From 5c1d94e1d58adbb4d70625adcdfef4f7d9134394 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Tue, 6 Aug 2024 11:29:08 -0400 Subject: [PATCH] Fix test Signed-off-by: Craig Perkins --- .../java/org/opensearch/http/TestExecutionContextPlugin.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qa/smoke-test-http/src/test/java/org/opensearch/http/TestExecutionContextPlugin.java b/qa/smoke-test-http/src/test/java/org/opensearch/http/TestExecutionContextPlugin.java index 27879c6d2a6c7..c97182dc626eb 100644 --- a/qa/smoke-test-http/src/test/java/org/opensearch/http/TestExecutionContextPlugin.java +++ b/qa/smoke-test-http/src/test/java/org/opensearch/http/TestExecutionContextPlugin.java @@ -54,8 +54,7 @@ public Collection createComponents( IndexNameExpressionResolver expressionResolver, Supplier repositoriesServiceSupplier, ContextSwitcher contextSwitcher) { - // TODO Fix this - this.contextSwitcher = null; + this.contextSwitcher = contextSwitcher; this.threadPool = threadPool; return Collections.emptyList(); }