HomeFreeBSD

ZTS: fix send-c_stream_size_estimate

Description

ZTS: fix send-c_stream_size_estimate

The test could fail when attempting to write to a newly created
volume which was missing its device node. Resolve the issue by
calling block_device_wait() which blocks until udev creates the
needed entry.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7276
Closes #7277

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Mar 7 2018, 5:55 PM
GitHub <noreply@github.com>Committed on Mar 7 2018, 5:55 PM
Parents
rGa07ad5884715: Fix dbufstats_001_pos
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG434a3375ce84: ZTS: fix send-c_stream_size_estimate (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Mar 7 2018, 5:55 PM