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(); }