Permalink
Browse files

Add comments to slave node hack, remove other dev/debugging doodles.

  • Loading branch information...
1 parent bf32d70 commit 2978b4d8ef6e30d23eeed8f804200306173c89fe @slfritchie slfritchie committed Oct 30, 2012
Showing with 6 additions and 4 deletions.
  1. +6 −4 test/pulse/bitcask_eqc.erl
View
10 test/pulse/bitcask_eqc.erl
@@ -247,17 +247,19 @@ start_node(Verbose) ->
end,
stop_node(),
{ok, _} = slave:start(host(), slave_name(), "-pa ../../../ebin "
- %% ++
- %% lists:append(["-detached" || not Verbose ])
+ ++
+ lists:append(["-detached" || not Verbose ])
),
ok.
stop_node() ->
slave:stop(node_name()).
run_on_node(Verbose, M, F, A) ->
- start_node(Verbose),
+ %% Temp hack! Always use local node for speed.
+ %% Switch back manually to slave node when isolation is needed.
rpc:call(node(), M, F, A).
+ %% start_node(Verbose),
%% rpc:call(node_name(), M, F, A).
%% Muting the QuickCheck license printout from the slave node
@@ -273,7 +275,7 @@ run_commands_on_node(Cmds, Seed, Verbose) ->
pulse:verbose([format]),
pulse:start(),
bitcask_nifs:set_pulse_pid(utils:whereis(pulse)),
- %% error_logger:tty(false),
+ error_logger:tty(false),
error_logger:add_report_handler(handle_errors),
token:next_name(),
event_logger:start_logging(),

0 comments on commit 2978b4d

Please sign in to comment.