diff options
author | Antonio Russo <[email protected]> | 2021-03-08 09:42:45 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-08 08:42:45 -0800 |
commit | b2eebe3ae7e301b084e47e243356c17d94ca98de (patch) | |
tree | 2d0bf1f0fc233952cdb1ca728fd8c4827720f766 /cmd/vdev_id | |
parent | 93e3658035030dedc4a25c25e8b410a549bafa74 (diff) |
ZTS events_002: Improve speed and reliability
events_002 exercises the ZED, ensuring that it neither misses events,
nor reporting events twice.
On slow test hardware, some of the timeouts are insufficient to allow
the ZED to properly settle. Conversely, on fast hardware these same
timeouts are too long, unnecessarily slowing the test run.
Instead of using a fixed timeout, wait for the expected final event
before returning. Additionally, wait with a timeout for unexpected
events to avoid missing them if they show up late.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Antonio Russo <[email protected]>
Closes #11703
Diffstat (limited to 'cmd/vdev_id')
0 files changed, 0 insertions, 0 deletions