extracting a custom track from an existing cluster I faced a strange behaviour. Rally extracts 1001 docs while it should extract exactly 1000 docs.
When I try to import it with the flag --test-mode I get this error:
[ERROR] Cannot race. Error in track preparator
Data in [/rally/tracks/index-documents-1k.json] for track [tracks] are invalid. Expected  lines but got .
I have to open manually the json file and remove the latest document. After that it works.
Is it a bug or anything else?