From 2578be116157a0d9c6c842dd08a3d49ea0fae676 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Thu, 14 Mar 2013 11:09:06 +0100 Subject: [observer] Add debug printouts in ttb_SUITE To troubleshoot failed test case trace_resumed_after_node_restart on windows. --- lib/observer/test/ttb_SUITE.erl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib') diff --git a/lib/observer/test/ttb_SUITE.erl b/lib/observer/test/ttb_SUITE.erl index f3fcd9f283..fd32e6aa71 100644 --- a/lib/observer/test/ttb_SUITE.erl +++ b/lib/observer/test/ttb_SUITE.erl @@ -1483,12 +1483,19 @@ logic(N, M, TracingType) -> ?t:stop_node(ttb_helper:get_node(client)), timer:sleep(2500), ?line {ok,_ClientNode} = ?t:start_node(client,slave,[]), + ct:log("client started",[]), ?line ok = ttb_helper:c(code, add_paths, [code:get_path()]), + ct:log("paths added",[]), ?line ttb_helper:c(client, init, []), + ct:log("client initiated",[]), ?line helper_msgs(N, TracingType), + ct:log("helper msgs sent and flushed",[]), ?line {_, D} = ttb:stop([return_fetch_dir]), + ct:log("stopped ~p",[D]), ?line ttb:format(D, [{out, ?OUTPUT}, {handler, ret_caller_call_handler2()}]), + ct:log("formatted ~p",[{D,?OUTPUT}]), ?line {ok, Ret} = file:consult(?OUTPUT), + ct:log("consulted: ~p",[Ret]), ?line M = length(Ret). begin_trace_with_resume(ServerNode, ClientNode, Dest) -> -- cgit v1.2.3