[PATCH] s4 messaging tests: Fix race condition in smbcontrol tests

Gary Lockyer gary at catalyst.net.nz
Thu Dec 20 20:07:01 UTC 2018


The test for the smbcontrol sleep command and the inject fault command
both used the "rpc_server" process as a target.  As the inject fault
command caused the process to restart there was a race condition between
the process restarting and the sleep test running.  To prevent this the
tests now use different target processes.


Review appreciated

Ngā mihi

Gary





-------------- next part --------------
A non-text attachment was scrubbed...
Name: 179.patch
Type: text/x-patch
Size: 1924 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20181221/291864ba/179.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20181221/291864ba/signature.sig>


More information about the samba-technical mailing list