summaryrefslogtreecommitdiff
path: root/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/Makefile
blob: 89be00931c9820320223a97c86040d834c700cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export PATH :=$(CURDIR):$(PATH)
HOSTNAME := $(shell hostname)
MVN_FLAGS += -Dhostname=$(HOSTNAME) \
			 -Dnode1.stream.port=$(NODE1_STREAM_PORT) \
			 -Dnode1.name=$(NODE1_NAME) \
			 -Dnode2.name=$(NODE2_NAME) \
			 -Dnode2.stream.port=$(NODE2_STREAM_PORT) \
			 -Drabbitmqctl.bin=$(RABBITMQCTL)

.PHONY: tests clean

tests:
	# Note: to run a single test
	# @mvnw -q $(MVN_FLAGS) -Dtest=StreamTest#metadataOnClusterShouldReturnLeaderAndReplicas test
	@mvnw $(MVN_FLAGS) test

clean:
	@mvnw clean