Skip to content

Commit

Permalink
Merge pull request #4431 from esl/fix-rerun-big-tests
Browse files Browse the repository at this point in the history
Fix --rerun-big-tests not working with cth_validate_nodes
  • Loading branch information
chrzaszcz authored Dec 12, 2024
2 parents 3b5713a + 6764754 commit 15a7e84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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
6 changes: 3 additions & 3 deletions tools/test-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ Script examples:
Sets dev-nodes and test-hosts to empty lists
Reruns mam_SUITE
./tools/test-runner.sh --skip-small-tests --skip-start-nodes --skip-validate-nodes -- connect
Continues test execution even if MongooseIM is not running on all nodes
./tools/test-runner.sh --rerun-big-tests -- mam
The same command as above
./tools/test-runner.sh --skip-small-tests --skip-start-nodes --skip-validate-nodes -- connect
Continues test execution even if MongooseIM is not running on all nodes
./tools/test-runner.sh --help --examples --colors | more
Display help using "more" command
END
Expand Down

0 comments on commit 15a7e84

Please sign in to comment.