Skip to content

Commit 8c2cf8d

Browse files
committed
Build PR first
1 parent 501641b commit 8c2cf8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aws/sqs/process

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ if [[ -f results.csv ]]; then
3636
rm results.csv
3737
fi
3838

39-
# Test the base branch, and the new PR
39+
# Test the new PR, and the base branch
4040
# Before each build, we lock the message for 20 minutes + 10 seconds
4141
# (our maximum allowed build time + a grace period)
42-
aws sqs change-message-visibility --receipt-handle "$RECEIPT_HANDLE" --queue-url "$QUEUE_URL" --visibility-timeout 1210
43-
REF="$BASE" ./bench || reportFailure
4442
aws sqs change-message-visibility --receipt-handle "$RECEIPT_HANDLE" --queue-url "$QUEUE_URL" --visibility-timeout 1210
4543
PR="$PR" ./bench || reportFailure
44+
aws sqs change-message-visibility --receipt-handle "$RECEIPT_HANDLE" --queue-url "$QUEUE_URL" --visibility-timeout 1210
45+
REF="$BASE" ./bench || reportFailure
4646

4747
# Now that we are done building, we only need to lock the message for long
4848
# enough to generate our report. If something fails, we want the message to

0 commit comments

Comments
 (0)