Skip to content

Commit

Permalink
Add missing continue
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Jan 30, 2023
1 parent d255780 commit a9c0ce7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions esrally/track/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ def create_readers(
end_client_index,
corpus.name,
)
continue

target = f"{docs.target_index}/{docs.target_type}" if docs.target_index else "/"
if docs.target_data_stream:
Expand Down
8 changes: 7 additions & 1 deletion tests/track/params_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,13 @@ def test_generate_bulks_from_multiple_corpora(self):
number_of_documents=5,
target_index="logs-2017-01",
target_type="docs",
)
),
track.Documents(
source_format=track.Documents.SOURCE_FORMAT_BULK,
number_of_documents=0,
target_index="logs-2017-02",
target_type="docs",
),
],
),
track.DocumentCorpus(
Expand Down

0 comments on commit a9c0ce7

Please sign in to comment.