ctdb-test: Adding test case to verify queue resizeing
authorSwen Schillig <swen@linux.ibm.com>
Mon, 18 Mar 2019 14:25:54 +0000 (15:25 +0100)
committerChristof Schmitt <cs@samba.org>
Wed, 10 Apr 2019 00:17:37 +0000 (00:17 +0000)
commit9ee32f3a9654452e855bfa99801d977fa7168dec
tree0041795df13fad52ad3c853cd8716f0357d589eb
parent1f193174f21860b586eae1485e6d378441608e8d
ctdb-test: Adding test case to verify queue resizeing

If a data packet arrives which exceeds the queue's current buffer size,
the buffer needs to be increased to hold the full packet. Once the packet
is processed the buffer size should be decreased to its standard size again.
This test case verifies this process.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Christof Schmitt <cs@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Wed Apr 10 00:17:37 UTC 2019 on sn-devel-144
ctdb/tests/cunit/ctdb_io_test_001.sh
ctdb/tests/src/ctdb_io_test.c