tests: Increment RSN always in ctdb_update_record_persistent test
authorAmitay Isaacs <amitay@gmail.com>
Fri, 25 May 2012 05:57:14 +0000 (15:57 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Mon, 28 May 2012 01:22:28 +0000 (11:22 +1000)
commit9881ec8e644296c60b33dfee1f4b3e7a938916e7
tree9a93ec8c98029e2525be41909ec1869af3a08c68
parent0cb1cc631d535c03f6ce272150b1a89b51f34422
tests: Increment RSN always in ctdb_update_record_persistent test

If the record does not exist in persistent DB, RSN for that record is
considered 0. To write a record, RSN for that record should be set to 1,
otherwise the RSN check would fail.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit ac89da4eea98fa686408c5671a6c44c0fd1d7a58)
ctdb/tests/src/ctdb_update_record_persistent.c