Files
scoutfs/tests/funcs
Zach Brown 875583b7ef Add t_fs_is_leader test helper
The t_server_nr and t_first_client_nr helpers iterated over all the fs
numbers examining their quorum/is_leader files, but clients don't have a
quorum/ directory.  This was causing spurious outputs in tests that were
looking for servers but didn't find it in the first quorum fs number and
made it down into the clients.

Give them a helper that returns 0 for being a leader if the quorum/ dir
doesn't exist.

Signed-off-by: Zach Brown <zab@versity.com>
2022-03-15 16:09:55 -07:00
..
2019-08-02 16:51:34 -07:00
2022-02-21 10:44:38 -08:00
2022-03-15 16:09:55 -07:00
2021-01-26 14:46:07 -08:00