Skip to content

Commit 15a7e84

Browse files
authored
Merge pull request #4431 from esl/fix-rerun-big-tests
Fix --rerun-big-tests not working with cth_validate_nodes
2 parents 3b5713a + 6764754 commit 15a7e84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/common/distributed_helper.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ get_node_keys() ->
231231
[NodeKey || {NodeKey, _Opts} <- ct:get_config(hosts)];
232232
EnvValue -> %% EnvValue examples are "mim" or "mim mim2"
233233
BinHosts = binary:split(iolist_to_binary(EnvValue), <<" ">>, [global]),
234-
[binary_to_atom(Node, utf8) || Node <- BinHosts]
234+
[binary_to_atom(Node, utf8) || Node <- BinHosts, Node =/= <<>>]
235235
end.
236236

237237
validate_node(NodeKey) ->

tools/test-runner.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ Script examples:
116116
Sets dev-nodes and test-hosts to empty lists
117117
Reruns mam_SUITE
118118
119-
./tools/test-runner.sh --skip-small-tests --skip-start-nodes --skip-validate-nodes -- connect
120-
Continues test execution even if MongooseIM is not running on all nodes
121-
122119
./tools/test-runner.sh --rerun-big-tests -- mam
123120
The same command as above
124121
122+
./tools/test-runner.sh --skip-small-tests --skip-start-nodes --skip-validate-nodes -- connect
123+
Continues test execution even if MongooseIM is not running on all nodes
124+
125125
./tools/test-runner.sh --help --examples --colors | more
126126
Display help using "more" command
127127
END

0 commit comments

Comments
 (0)