I've seen the following failure in presub testing on different proposed changes. Perhaps the timeout needs to be adjusted
module 'ns_rebalance_observer'
|
ns_rebalance_observer: rebalance (rebalance)...*failed*
|
in function gen_server:call/3 (gen_server.erl, line 419)
|
in call from ns_rebalance_observer:rebalance/0 (/home/couchbase/jenkins/workspace/ns-server-ns-test/master/ns_server/apps/ns_server/src/ns_rebalance_observer.erl, line 1346)
|
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
|
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 543)
|
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 368)
|
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 526)
|
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 468)
|
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 358)
|
**exit:{timeout,{gen_server,call,
|
[ns_rebalance_observer,
|
{get_rebalance_info,[{add_vbucket_info,true}]},
|
30000]}}
|
output:<<"">>
|
Here's the code
test_get_rebalance_info() ->
|
gen_server:call(?MODULE, {get_rebalance_info, [{add_vbucket_info, true}]},
|
30000).
|