File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -37,3 +37,12 @@ clean:
37
37
38
38
distclean : clean
39
39
$(MAKE ) -C $(DEPS_DIR ) /rabbitmq_codegen clean
40
+
41
+ .PHONY : cluster-other-node
42
+
43
+ cluster-other-node :
44
+ $(exec_verbose ) $(RABBITMQCTL ) -n $(OTHER_NODE ) stop_app
45
+ $(verbose ) $(RABBITMQCTL ) -n $(OTHER_NODE ) reset
46
+ $(verbose ) $(RABBITMQCTL ) -n $(OTHER_NODE ) join_cluster \
47
+ $(if $(MAIN_NODE ) ,$(MAIN_NODE ) ,$(RABBITMQ_NODENAME ) @$$(hostname -s ) )
48
+ $(verbose ) $(RABBITMQCTL ) -n $(OTHER_NODE ) start_app
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ case ~/^create-test-cluster$/:
33
33
34
34
command = [
35
35
properties[' make.bin' ],
36
- ' -C' , properties[' rabbitmq.dir' ],
37
36
' --no-print-directory' ,
38
37
' cluster-other-node' ,
38
+ " RABBITMQCTL=${ properties['rabbitmqctl.bin']} " ,
39
39
" DEPS_DIR=${ properties['deps.dir']} " ,
40
40
" OTHER_NODE=${ nodename} " ,
41
41
" MAIN_NODE=${ target} "
You can’t perform that action at this time.
0 commit comments