Skip to content

Commit

Permalink
MB-15837 Fix to tap_notify_set_vbucket_state unit test.
Browse files Browse the repository at this point in the history
Change-Id: Ia7af2243a41b86987a76f06b1b1e30dda6a479b0
Reviewed-on: http://review.couchbase.org/53834
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
  • Loading branch information
chiyoung committed Jul 28, 2015
1 parent 9023541 commit 6663772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ep_testsuite.cc
Expand Up @@ -5141,7 +5141,7 @@ static enum test_result test_tap_rcvr_checkpoint(ENGINE_HANDLE *h, ENGINE_HANDLE

static enum test_result test_tap_rcvr_set_vbstate(ENGINE_HANDLE *h, ENGINE_HANDLE_V1 *h1) {
char eng_specific[8];
vbucket_state_t vb_state = vbucket_state_active;
vbucket_state_t vb_state = static_cast<vbucket_state_t>(htonl(vbucket_state_active));
memcpy(eng_specific, &vb_state, sizeof(vb_state));
check(set_vbucket_state(h, h1, 1, vbucket_state_replica), "Failed to set vbucket state.");
// Get the vbucket UUID before vbucket takeover.
Expand Down

0 comments on commit 6663772

Please sign in to comment.