mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
386d23757b
The NFS test sleeps for MonitorInterval to give CTDB time to record an NFS tickle. However, this isn't always long enough. This changes the test to wait until a monitor event has actually occurred. The CIFS test assumes that Samba is able to register a tickle with CTDB before it notices that netstat has registered the tickle and can use onnode to ask CTDB about it. That is an incorrect assumption - sometimes we can get to the point of asking CTDB about the tickle before Samba and CTDB have processed it. This adds a timeout loop that makes the CIFS test wait until the tickle has been registered or fail after 10 seconds. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 20a9d35933d89dc7eb710075f360686a49d78609) |
||
---|---|---|
.. | ||
client | ||
common | ||
config | ||
doc | ||
ib | ||
include | ||
lib | ||
packaging | ||
server | ||
tcp | ||
tests | ||
tools | ||
utils | ||
web | ||
.bzrignore | ||
.gitignore | ||
aclocal.m4 | ||
autogen.sh | ||
config.guess | ||
config.mk | ||
config.sub | ||
configure.ac | ||
configure.rpm | ||
COPYING | ||
ctdb.pc.in | ||
install-sh | ||
Makefile.in |