Fix the expected sub string in basic_command_line getpid test.

This commit is contained in:
andytill 2016-07-05 11:03:12 +00:00
parent 25d377fae9
commit cc50b7c1c8

View File

@ -166,5 +166,7 @@ getpid_up_test(Node) ->
getpid_down_test(Node) ->
lager:info("Test riak getpid fails on ~s", [Node]),
{ok, PidOut} = rt:riak(Node, ["getpid"]),
?assert(rt:str_mult(PidOut, ?PING_FAILURE_OUTPUT)),
%% note that the error message is slightly different to the
%% other commands
?assert(rt:str(PidOut, "Node is not running!")),
ok.