MB-19360: Init mock server in stream module tests 67/63367/2
authorabhinavdangeti <abhinav@couchbase.com>
Tue, 26 Apr 2016 18:12:11 +0000 (11:12 -0700)
committerChiyoung Seo <chiyoung@couchbase.com>
Wed, 27 Apr 2016 23:50:07 +0000 (23:50 +0000)
commitb32651c5b5887819388cdfa23dbb9ea9a47ecccd
tree5823952efb01c723a644ca46c94a9cd7145d2894
parent0b6248bfc43dcb0da42a1dc9fabfcd5b58b8512a
MB-19360: Init mock server in stream module tests

This needs to be done so that time_mutex in mock_server
gets initialized to enable crash-free invocations of
mock_get_current_time and mock_time_travel apis.

Change-Id: I06e6469a227df1108892c9616344ff3789c72cb8
Reviewed-on: http://review.couchbase.org/63367
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Will Gardner <will.gardner@couchbase.com>
tests/module_tests/stream_test.cc