Skip to content

Commit 65e4d38

Browse files
authored
Use the latest version of the e2e test harness (segmentio#134)
1 parent 4212289 commit 65e4d38

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.buildscript/e2e.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ if [ "$RUN_E2E_TESTS" != "true" ]; then
66
echo "Skipping end to end tests."
77
else
88
echo "Running end to end tests..."
9-
wget https://github.com/segmentio/library-e2e-tester/releases/download/0.2.1/tester_linux_amd64
10-
chmod +x tester_linux_amd64
11-
./tester_linux_amd64 -segment-write-key="$SEGMENT_WRITE_KEY" -webhook-auth-username="$WEBHOOK_AUTH_USERNAME" -webhook-bucket="$WEBHOOK_BUCKET" -path='.buildscript/cli.sh'
9+
exe="tester_linux_amd64"
10+
rm -f ${exe}
11+
wget -O - https://raw.githubusercontent.com/segmentio/library-e2e-tester/master/.buildscript/get-latest-version.sh | bash -s ${exe}
12+
chmod +x ${exe}
13+
./${exe} -segment-write-key="$SEGMENT_WRITE_KEY" -webhook-auth-username="$WEBHOOK_AUTH_USERNAME" -webhook-bucket="$WEBHOOK_BUCKET" -path='.buildscript/cli.sh'
1214
echo "End to end tests completed!"
1315
fi

0 commit comments

Comments
 (0)