From 2281c033ff62bf7cb318d258a062cdbaa549121b Mon Sep 17 00:00:00 2001 From: williamlardier Date: Thu, 28 Nov 2024 15:08:01 +0100 Subject: [PATCH] [to drop] only run specific tests --- .github/scripts/end2end/run-e2e-ctst.sh | 2 +- tests/ctst/features/quotas/Quotas.feature | 4 ++++ tests/ctst/run.sh | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/scripts/end2end/run-e2e-ctst.sh b/.github/scripts/end2end/run-e2e-ctst.sh index df1b161b21..15e14d2d15 100755 --- a/.github/scripts/end2end/run-e2e-ctst.sh +++ b/.github/scripts/end2end/run-e2e-ctst.sh @@ -2,7 +2,7 @@ set -exu ZENKO_NAME=${1:-end2end} -COMMAND=${2:-"premerge"} +COMMAND=${2:-"only"} PARALLEL_RUNS=${PARALLEL_RUNS:-$(( ( $(nproc) + 1 ) / 2 ))} RETRIES=${4:-3} diff --git a/tests/ctst/features/quotas/Quotas.feature b/tests/ctst/features/quotas/Quotas.feature index aec6a8bee9..431db0f2f0 100644 --- a/tests/ctst/features/quotas/Quotas.feature +++ b/tests/ctst/features/quotas/Quotas.feature @@ -7,6 +7,7 @@ Feature: Quota Management for APIs @Quotas @CronJob @DataWrite + @Only Scenario Outline: Quotas are evaluated during write operations Given an action "" And an upload size of B for the object "" @@ -68,6 +69,7 @@ Feature: Quota Management for APIs @CronJob @DataDeletion @NonVersioned + @Only Scenario Outline: Quotas are affected by deletion operations Given an action "DeleteObject" And a permission to perform the "PutObject" action @@ -103,6 +105,7 @@ Feature: Quota Management for APIs @CronJob @DataDeletion @NonVersioned + @Only Scenario Outline: Quotas are affected by deletion operations between count items runs Given an action "DeleteObject" And a permission to perform the "PutObject" action @@ -143,6 +146,7 @@ Feature: Quota Management for APIs @Restore @Dmf @ColdStorage + @Only Scenario Outline: Restored object expiration updates quotas Given an action "" And a STORAGE_MANAGER type diff --git a/tests/ctst/run.sh b/tests/ctst/run.sh index 0b43cd7d16..c54fc14403 100755 --- a/tests/ctst/run.sh +++ b/tests/ctst/run.sh @@ -3,7 +3,7 @@ set -exu # script used for local testing -COMMAND=${1:-"premerge"} +COMMAND=${1:-"only"} PARALLEL_RUNS=${2:-4} # Enable SDK - setting this to false will run the CLI mode