Skip to content

Commit

Permalink
fix clause when a timeout occurs in launcher. fix #126
Browse files Browse the repository at this point in the history
  • Loading branch information
nniclausse committed Sep 3, 2015
1 parent bb804e8 commit a5ad1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tsung/ts_launcher.erl
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ do_launch({Intensity, MyHostName, PhaseId})->
%%Get one client
%%set the profile of the client
case catch ts_config_server:get_next_session({MyHostName, PhaseId} ) of
[{'EXIT', {timeout, _ }}] ->
{'EXIT', {timeout, _ }} ->
?LOG("get_next_session failed (timeout), skip this session !~n", ?ERR),
ts_mon:add({ count, error_next_session }),
error;
Expand Down

0 comments on commit a5ad1c8

Please sign in to comment.