Skip to content

Commit b6d5a5a

Browse files
committed
cli: Start a background node to run the tests
1 parent 99d61ff commit b6d5a5a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

deps/rabbitmq_cli/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,12 @@ rel:: $(ESCRIPTS)
113113
@:
114114

115115
tests:: $(ESCRIPTS)
116-
$(gen_verbose) $(MIX_TEST) $(TEST_FILE)
116+
$(verbose) $(MAKE) -C ../../ install-cli
117+
$(verbose) $(MAKE) -C ../../ run-background-broker PLUGINS="rabbit rabbitmq_federation rabbitmq_stomp rabbitmq_stream_management amqp_client"
118+
$(gen_verbose) $(MIX_TEST) $(TEST_FILE); \
119+
RES=$$?; \
120+
$(MAKE) -C ../../ stop-node; \
121+
exit $$RES
117122

118123
.PHONY: test
119124

0 commit comments

Comments
 (0)