Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions hadoop-ozone/dist/src/main/compose/common/ec-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

start_docker_env 5

## Exclude virtual-host tests. This is tested separately as it requires additional config.
execute_robot_test scm -v BUCKET:erasure --exclude virtual-host s3
execute_robot_test scm -v BUCKET:erasure s3

execute_robot_test scm ec/rewrite.robot

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ source "$COMPOSE_DIR/../testlib.sh"

start_docker_env

## Exclude virtual-host tests. This is tested separately as it requires additional config.
exclude="--exclude virtual-host"
exclude=""
for bucket in generated; do
execute_robot_test ${SCM} -v BUCKET:${bucket} -N s3-${bucket} ${exclude} s3
# some tests are independent of the bucket type, only need to be run once
## Exclude awss3virtualhost.robot
exclude="--exclude virtual-host --exclude no-bucket-type"
exclude="--exclude no-bucket-type"
done
5 changes: 2 additions & 3 deletions hadoop-ozone/dist/src/main/compose/ozone-ha/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,12 @@ execute_robot_test ${SCM} basic/links.robot

execute_robot_test ${SCM} -v SCHEME:ofs -v BUCKET_TYPE:link -N ozonefs-ofs-link ozonefs/ozonefs.robot

## Exclude virtual-host tests. This is tested separately as it requires additional config.
exclude="--exclude virtual-host"
exclude=""
for bucket in generated; do
for layout in OBJECT_STORE LEGACY FILE_SYSTEM_OPTIMIZED; do
execute_robot_test ${SCM} -v BUCKET:${bucket} -v BUCKET_LAYOUT:${layout} -N s3-${layout}-${bucket} ${exclude} s3
# some tests are independent of the bucket type, only need to be run once
exclude="--exclude virtual-host --exclude no-bucket-type"
exclude="--exclude no-bucket-type"
done
done

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ start_docker_env

execute_command_in_container kms hadoop key create ${OZONE_BUCKET_KEY_NAME}

## Exclude virtual-host tests. This is tested separately as it requires additional config.
exclude="--exclude virtual-host"
exclude=""
for bucket in encrypted; do
execute_robot_test recon -v BUCKET:${bucket} -N s3-${bucket} ${exclude} s3
# some tests are independent of the bucket type, only need to be run once
## Exclude virtual-host.robot
exclude="--exclude virtual-host --exclude no-bucket-type"
exclude="--exclude no-bucket-type"
done
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ source "$COMPOSE_DIR/../testlib.sh"
start_docker_env

## Run virtual host test cases
execute_robot_test s3g -N s3-virtual-host s3/awss3virtualhost.robot
execute_robot_test s3g -N s3-virtual-host awss3virtualhost.robot
6 changes: 2 additions & 4 deletions hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ execute_robot_test s3g -v SCHEME:o3fs -v BUCKET_TYPE:link -N ozonefs-o3fs-link o

execute_robot_test s3g basic/links.robot

## Exclude virtual-host tests. This is tested separately as it requires additional config.
exclude="--exclude virtual-host"
exclude=""
for bucket in link; do
execute_robot_test s3g -v BUCKET:${bucket} -N s3-${bucket} ${exclude} s3
# some tests are independent of the bucket type, only need to be run once
## Exclude virtual-host.robot
exclude="--exclude virtual-host --exclude no-bucket-type"
exclude="--exclude no-bucket-type"
done

# Run Fault Injection tests at the end
Expand Down
3 changes: 1 addition & 2 deletions hadoop-ozone/dist/src/main/compose/ozonesecure/test-vault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ export COMPOSE_FILE=docker-compose.yaml:vault.yaml

start_docker_env

## Exclude virtual-host tests. This is tested separately as it requires additional config.
execute_robot_test scm --exclude virtual-host s3
execute_robot_test scm s3
6 changes: 2 additions & 4 deletions hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@ execute_robot_test scm repair/bucket-encryption.robot

execute_robot_test scm -v SCHEME:ofs -v BUCKET_TYPE:bucket -N ozonefs-ofs-bucket ozonefs/ozonefs.robot

## Exclude virtual-host tests. This is tested separately as it requires additional config.
exclude="--exclude virtual-host"
exclude=""
for bucket in encrypted; do
execute_robot_test s3g -v BUCKET:${bucket} -N s3-${bucket} ${exclude} s3
# some tests are independent of the bucket type, only need to be run once
## Exclude virtual-host.robot
exclude="--exclude virtual-host --exclude no-bucket-type"
exclude="--exclude no-bucket-type"
done

#expects 4 pipelines, should be run before
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@
Documentation S3 gateway test with aws cli using virtual host style address
Library OperatingSystem
Library String
Resource ../commonlib.robot
Resource ./commonawslib.robot
Resource commonlib.robot
Resource s3/commonawslib.robot
Test Timeout 5 minutes
Suite Setup Setup s3 tests
Default Tags virtual-host

*** Variables ***
${ENDPOINT_URL} http://s3g.internal:9878
Expand Down