MB-21142: Ensure vbucket states are persisted before the test 64/68264/2
authorSriram Ganesan <sriram@couchbase.com>
Mon, 3 Oct 2016 09:14:18 +0000 (14:44 +0530)
committerDave Rigby <daver@couchbase.com>
Mon, 3 Oct 2016 09:46:30 +0000 (09:46 +0000)
commit0a0e32a500d1fb026794d3c6785734a7dc79d4ad
tree5343846504236b53f9761e8fd64e0707f4337c8a
parent1b6e4388d9d587d6b9933c131daa3ad913919f57
MB-21142: Ensure vbucket states are persisted before the test

In test_tap_filter_stream, vb ids 0 to 3 are set to active
before the test. The test needs to ensure that all the vbucket
states are persisted and the respective couchstore files created
so that there is no race between file creation and operations
on the file

Context: test_tap_filter_stream

Change-Id: Idad34474bdf418504012731459cf4eb3272b1ba9
Reviewed-on: http://review.couchbase.org/68264
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
tests/ep_testsuite_tap.cc