perf test: Add 30s timeout for wait for daemon start.
authorIan Rogers <irogers@google.com>
Wed, 17 Mar 2021 00:55:05 +0000 (17:55 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 17 Mar 2021 13:14:44 +0000 (10:14 -0300)
commita6cb06ff49fd522aaeecfee7d5952ac6e2ab9d13
treef4f7e31635ab7744016aeee44df498fa95692382
parent078cbb6f75f16a16fb843a431e83c2f92605bb75
perf test: Add 30s timeout for wait for daemon start.

Retry the ping loop upto 600 times, or approximately 30 seconds, to make
sure the test does hang at start up.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20210317005505.2794804-3-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/daemon.sh