IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Following connection to the local ctdbd, ctdb_cmdline_client() currently
issues a CTDB_CONTROL_GET_PNN request with a fixed 3 second timeout.
The ctdb cmd line client accepts a --timelimit argument for specifying
a per request timeout, pass this value through to ctdb_cmdline_client()
for use as a CTDB_CONTROL_GET_PNN request timeout.
(This used to be ctdb commit 0634d0305f42f17048b6830733767e8dc300e11c)
Running "./run_tests -s simple/* multievent/*" results in a stupid
summary. Will need to work on that...
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 999c68948da1492ac4d728c6bf79ad4921d9e840)
Just like simple_test() but 1st arg is the event name.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 69e240e15488e228c0232fdc8804af778cb4e6fc)
$event may not be set so we need to test for it.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 80f14e590242b14829c6309ee908af0f2d33be1e)
Some of the tests expect the default to be
CTDB_SERVICE_AUTOSTARTSTOP=yes
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit f7de037e3be2e9910bee644dd1e93bae4912a194)
Expect "ctdb checktcpport" to exit with 1 if not implemented.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 20885d592040eb3945524c558b593a1d50a57b43)
This one should fall back to netstat.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 0a08068f736efe56b4799e1f1f90539d257deb71)
This allowed a single ctdb command to be defined as not-implemented
and provided the associated output from the ctdb stub in
$ctdb_not_implemented.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 3852c091f5e0ecba06b7131ca04b73a0cd632f23)
This allows $OUT_FILTER to be set to one or more sed commands to
filter eventscript output. This allows expected output to be
generalised.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit a1d424045c53f5b148952eade6161af8248ed4df)
Not sleeping at all speeds up the tests. However, it can also cause
timeouts. Therefore, every time sleep is run we force the stub to do
a short 0.1s sleep instead of whatever is specified. This should be
enough to avoid races.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 59a1d54bcc15058f7b69e8596b32b26427a3ae57)
Change from $FAKE_NETSTAT_TCP_LISTEN to $FAKE_TCP_LISTEN.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit f19ba38e382034fba769145d0bfc81b2c2941563)
The real exportfs splits lines longer than 15 characters. The stub
should do that too...
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit fb3e123b097d9e36d281c3ab4f3e9a4799fa27bc)
This is needed due to bd39b91ad12fd05271a7fced0e6f9d8c4eba92e6.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 92f8e31f6995836b1668639a4dac2862efee269a)
This matches the new "LCP2PublicIPs" tunable.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 0680437bf5f02aeaed6387370e58bbdba2c04f28)
Default to "any"... but allow specification because sometimes it
matters...
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit c12c97598afcd07ce4876b26e0b734bc825e54c1)
The test currently waits until any node thinks that the test node is
disconnected, and then uses node 0 as a proxy for testing. However,
nodes may notice at different times that a node is disconnected, so
this test can fail unnecessarily.
We force the proxy node for the wait-until-disconnected to be the same
as the proxy node used to launch the actual tests.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 73cfc304513358e99e6505c95f44a4d319201309)
Same problem as described in commit
283a85b42d9c0a26acb64d5abcc7f175e31e6e75.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 7758fd0591467a758e5d22404aa59fcbc1e1cb8b)
Later versions of RPM seem to include it but we don't want it.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 6c8eedb21a5e231d4a26ac26706ea51f348a27e0)
This can't be made 100% reliable since the monitor mode can change
underneath us due to some event. Therefore, the test is useless.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Conflicts:
tests/simple/20_ctdb_getmonmode.sh
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 98ccdc6241a73036c4f210bb510f1cb5cff588cc)