Samba 4.8: selftest: Make setexpiry test much more reliable

Rather than setting all the expiries and expecting that they will be done within 5 seconds, measure and check the time individually for each record.

This should make this test much less prone to flapping.


Signed-off-by: Andrew Bartlett Reviewed-by: Gary Lockyer

Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Tue May 15 23:58:17 CEST 2018 on sn-devel-144

(cherry picked from commit 5ebe3183)

Merge request reports