fullstorydev / solr-bench

Solr benchmarking and load testing harness
Apache License 2.0
17 stars 10 forks source link

Allow waitfor on multiple tasks #48

Closed patsonluk closed 1 year ago

patsonluk commented 1 year ago

Description

TaskInstance has @JsonProperty("wait-for"), which current logic would block the task until the "wait-for" task finishes.

Added a minor enhancement that wait-for could be a comma separated list so a task can wait for multiple tasks to finish.

This could be useful if we want to run several concurrent tasks and then have one follow-up task that wait for all those concurrent task completions before proceeding.