Skip to content

Commit

Permalink
move latest-njs testing to the -m module for forwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
4141done committed Feb 26, 2024
1 parent 0f89ee0 commit 120ae99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ runUnitTestWithOutSessionToken() {
-e "S3_REGION=test-1" \
-e "AWS_SIGS_VERSION=4" \
--entrypoint /usr/bin/njs \
nginx-s3-gateway -t module -p '/etc/nginx' /var/tmp/"${test_code}"
nginx-s3-gateway -m -p '/etc/nginx' /var/tmp/"${test_code}"
}

runUnitTestWithSessionToken() {
Expand All @@ -379,7 +379,7 @@ runUnitTestWithSessionToken() {
-e "S3_REGION=test-1" \
-e "AWS_SIGS_VERSION=4" \
--entrypoint /usr/bin/njs \
nginx-s3-gateway -t module -p '/etc/nginx' /var/tmp/"${test_code}"
nginx-s3-gateway -m -p '/etc/nginx' /var/tmp/"${test_code}"
}

p "Running unit tests for utils"
Expand Down

0 comments on commit 120ae99

Please sign in to comment.