Skip to content

Commit

Permalink
fixed runner and runner_test errors and now correctly works.
Browse files Browse the repository at this point in the history
  • Loading branch information
maddox05 committed Nov 2, 2023
1 parent 7ec47c3 commit c6b6565
Show file tree
Hide file tree
Showing 2 changed files with 251 additions and 273 deletions.
2 changes: 1 addition & 1 deletion osbenchmark/worker_coordinator/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ async def __call__(self, opensearch, params):
)

def __repr__(self, *args, **kwargs):
return "create-ingest-pipeline"
return opensearch.ingest.put_pipeline.return_value = as_future()

# TODO: refactor it after python client support search pipeline https://github.com/opensearch-project/opensearch-py/issues/474
class CreateSearchPipeline(Runner):
Expand Down
Loading

0 comments on commit c6b6565

Please sign in to comment.