]> granicus.if.org Git - zfs/commit
ZTS: fix send-c_stream_size_estimate
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 7 Mar 2018 17:55:54 +0000 (09:55 -0800)
committerGitHub <noreply@github.com>
Wed, 7 Mar 2018 17:55:54 +0000 (09:55 -0800)
commit434a3375ce84db2f86808875fb85f5afa1e84750
tree3b5c00cb31b6e0ff54da2c6b987d30189c068b8e
parenta07ad58847158fcd90a2a98f1476a81bfcd3c3ac
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
tests/zfs-tests/tests/functional/rsend/send-c_stream_size_estimate.ksh