Skip to content

Commit a1b1489

Browse files
authored
Merge pull request #114 from segmentio/webhook_e2e
Use webhook-e2e for E2E tests
2 parents 0e44344 + 0f53989 commit a1b1489

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ e2e_test:
99
if [ "$(RUN_E2E_TESTS)" != "true" ]; then \
1010
echo "Skipping end to end tests."; \
1111
else \
12+
set -e; \
1213
echo "Running end to end tests..."; \
13-
wget https://github.com/segmentio/library-e2e-tester/releases/download/0.1.1/tester_linux_amd64; \
14+
wget https://github.com/segmentio/library-e2e-tester/releases/download/0.2.0/tester_linux_amd64; \
1415
chmod +x tester_linux_amd64; \
1516
chmod +x e2e_test.sh; \
16-
./tester_linux_amd64 -segment-write-key="$SEGMENT_WRITE_KEY" -runscope-token="$RUNSCOPE_TOKEN" -runscope-bucket="$RUNSCOPE_BUCKET" -path='./e2e_test.sh'; \
17+
./tester_linux_amd64 -segment-write-key="$(SEGMENT_WRITE_KEY)" -webhook-auth-username="$(WEBHOOK_AUTH_USERNAME)" -webhook-bucket="$(WEBHOOK_BUCKET)" -path='./e2e_test.sh'; \
1718
echo "End to end tests completed!"; \
1819
fi
1920

20-
.PHONY: test dist e2e_test
21+
.PHONY: test dist e2e_test

0 commit comments

Comments
 (0)