tests/auth_log_pass_change: Fix flapping test
commit9d7f1794937a8626a016422188213e7088d0d86b
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 19 Jun 2023 22:11:50 +0000 (20 10:11 +1200)
committerStefan Metzmacher <metze@samba.org>
Mon, 26 Jun 2023 11:10:31 +0000 (26 11:10 +0000)
tree8f5173150c36f40173d1990a0e750a51ebdf4257
parent539cd516004f3597f39885c5d2c39e2b3d9a0ab9
tests/auth_log_pass_change: Fix flapping test

It appears that discardMessages() is still not entirely reliable. Ensure
that we filter out any messages from the Administrator’s authentication.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
python/samba/tests/auth_log_pass_change.py