Skip to content

Commit

Permalink
Parse TEST_HOSTS='' correctly
Browse files Browse the repository at this point in the history
It got parsed into ['']
  • Loading branch information
arcusfelis committed Dec 12, 2024
1 parent 8612dec commit 6764754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/distributed_helper.erl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ get_node_keys() ->
[NodeKey || {NodeKey, _Opts} <- ct:get_config(hosts)];
EnvValue -> %% EnvValue examples are "mim" or "mim mim2"
BinHosts = binary:split(iolist_to_binary(EnvValue), <<" ">>, [global]),
[binary_to_atom(Node, utf8) || Node <- BinHosts]
[binary_to_atom(Node, utf8) || Node <- BinHosts, Node =/= <<>>]
end.

validate_node(NodeKey) ->
Expand Down

0 comments on commit 6764754

Please sign in to comment.