From 522a2b7bc7afdb3601d57745f2ed2c93776560f7 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 | 3 +++ tests/ctst/run.sh | 2 +- 3 files changed, 5 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 8fca68a8c0..57bd6e665d 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 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