[PATCH] ctdb-test: Add tests to verify queue processing

swen swen at linux.ibm.com
Thu Mar 14 12:27:21 UTC 2019


Hi Martin

On Thu, 2019-03-14 at 21:56 +1100, Martin Schwenke via samba-technical
wrote:
> Hi Swen,
> 
> On Thu, 07 Mar 2019 13:03:15 +0100, swen <swen at linux.ibm.com> wrote:
> 
> > Followed Christof's good example and created a test verifying
> > the correct processing of CTDB's queue buffer.
> 
> This looks like it might fit nicely into the existing
> ctdb/tests/src/ctdb_io_test.c instead of creating a new test program.
Hmm, well it actually doesn't fit nicely :-)

The existing tests do investigate what's received on "client" side and
therefore, do not check or need anything on the servers side.

The tests I'm adding are actually covering the server side and
investigate the queue itself and the byte-pushing there... not care'ing
what's received.

Due to this difference the existing tests have no reference to the
queue which is needed fo the tests I would like t add.

Aynhow, if you'd prefer to just have on file containing the tests,
I guess, I could do that. Just thought it would be nicer to have the
separation because of what I described.

You pick, I don't mind.

Cheers Swen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190314/206500a2/signature.sig>


More information about the samba-technical mailing list