[BP] MB-17766: Fix intermittant stream_test failure 58/60058/2
authorDave Rigby <daver@couchbase.com>
Tue, 16 Feb 2016 12:54:38 +0000 (12:54 +0000)
committerChiyoung Seo <chiyoung@couchbase.com>
Tue, 16 Feb 2016 23:24:04 +0000 (23:24 +0000)
commit9ac7fd001102b8489a148eef285232fb712ed665
treeb88161199206a5ee483e1a92a7e4f9a0d5c2fab3
parentb84d09def3e4b34be953c6daf2f054727d25bfb6
[BP] MB-17766: Fix intermittant stream_test failure

Address two issues:

1) end sequence numbers were incorrect, which could result in not
   having any items in our cursor.
2) Don't check CheckpointMamager::registerCursor() return falue, we
   don't actually care if any other cursors are already registered for
   a given checkpoint (persistence cursor sometimes registers before
   us).

Change-Id: I1145d5fb61c0c12f019154c979afdd50b4060509
Reviewed-on: http://review.couchbase.org/60058
Tested-by: buildbot <build@couchbase.com>
Well-Formed: Hari Kodungallur <hari.kodungallur@couchbase.com>
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
tests/module_tests/stream_test.cc