test: allow versitygw command customization, website testing, s3 config fix

This commit is contained in:
Luke McCrone
2026-08-31 18:42:23 -03:00
parent e935440092
commit d62052b2be
23 changed files with 572 additions and 195 deletions
+9 -4
View File
@@ -14,7 +14,8 @@
# specific language governing permissions and limitations
# under the License.
source ./tests/env.sh
source ./tests/logger.sh
source ./tests/setup_common.sh
source ./tests/util/util_object.sh
source ./tests/commands/create_bucket.sh
source ./tests/drivers/put_bucket_ownership_controls/put_bucket_ownership_controls_rest.sh
@@ -40,7 +41,11 @@ create_bucket_if_not_exists() {
return 0
}
base_setup
if ! setup_env_and_versitygw; then
log 1 "error setting up env and/or versitygw"
exit 1
fi
if ! create_bucket_if_not_exists "$BUCKET_ONE_NAME"; then
log 2 "error creating static bucket one"
elif ! create_bucket_if_not_exists "$BUCKET_TWO_NAME"; then
@@ -49,6 +54,6 @@ fi
# shellcheck disable=SC2034
RECREATE_BUCKETS=false
if ! stop_versity_process "$VERSITYGW_PID_1"; then
log 2 "error stopping versity"
if ! teardown_common; then
log 2 "teardown error"
fi