12020: Fix test race.
authorTom Clegg <tclegg@veritasgenetics.com>
Thu, 1 Aug 2019 15:45:20 +0000 (11:45 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Thu, 1 Aug 2019 15:45:20 +0000 (11:45 -0400)
commitbb0794b3323e93d45d85a0e86a497e8afe5a0983
treef786f85d1f00c0d38f05362831dda8bb60e99c5e
parenta3ac6ea15e37aa903ed9dc8b31bac94d99093c2f
12020: Fix test race.

The previous fix still had a race bug: it assigned a truthy value to
PollClient._skip_old_events (thereby releasing the test from its wait
loop) before doing the logs().list() query to choose an event ID
threshold.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
sdk/python/arvados/events.py