From 2df377545a1a709d614a0677471e41ec20229e19 Mon Sep 17 00:00:00 2001 From: nirajacharya2 <122071597+nirajacharya2@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:58:09 +0545 Subject: [PATCH] merging ocis and core behat configs (#4831) --- .drone.env | 2 +- .drone.star | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.drone.env b/.drone.env index 6177d723a9..a8df5ff28a 100644 --- a/.drone.env +++ b/.drone.env @@ -1,4 +1,4 @@ # The test runner source for API tests -APITESTS_COMMITID=854332e332890fe84ebef0fb34bcd05b2988051d +APITESTS_COMMITID=0f95ab4d3cb5fe1561eb882b172b76a92b8eb13d APITESTS_BRANCH=master APITESTS_REPO_GIT_URL=https://github.com/owncloud/ocis.git diff --git a/.drone.star b/.drone.star index aab202d699..c938848c76 100644 --- a/.drone.star +++ b/.drone.star @@ -255,7 +255,7 @@ def virtualViews(): "image": OC_CI_PHP, "commands": [ "cd /drone/src/tmp/testrunner", - "make test-acceptance-from-core-api", + "make test-acceptance-api", ], "environment": { "TEST_SERVER_URL": "http://revad-services:20180", @@ -267,6 +267,7 @@ def virtualViews(): "REGULAR_USER_PASSWORD": "relativity", "SEND_SCENARIO_LINE_REFERENCES": "true", "BEHAT_SUITE": "apiVirtualViews", + "ACCEPTANCE_TEST_TYPE": "core-api", }, }, ], @@ -600,7 +601,7 @@ def ocisIntegrationTests(parallelRuns, skipExceptParts = []): "image": OC_CI_PHP, "commands": [ "cd /drone/src/tmp/testrunner", - "make test-acceptance-from-core-api", + "make test-acceptance-api", ], "environment": { "TEST_SERVER_URL": "http://revad-services:20080", @@ -616,6 +617,7 @@ def ocisIntegrationTests(parallelRuns, skipExceptParts = []): "DIVIDE_INTO_NUM_PARTS": parallelRuns, "RUN_PART": runPart, "EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-on-OCIS-storage.md", + "ACCEPTANCE_TEST_TYPE": "core-api", }, }, ], @@ -676,7 +678,7 @@ def s3ngIntegrationTests(parallelRuns, skipExceptParts = []): "image": OC_CI_PHP, "commands": [ "cd /drone/src/tmp/testrunner", - "make test-acceptance-from-core-api", + "make test-acceptance-api", ], "environment": { "TEST_SERVER_URL": "http://revad-services:20080", @@ -692,6 +694,7 @@ def s3ngIntegrationTests(parallelRuns, skipExceptParts = []): "DIVIDE_INTO_NUM_PARTS": parallelRuns, "RUN_PART": runPart, "EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-on-S3NG-storage.md", + "ACCEPTANCE_TEST_TYPE": "core-api", }, }, ], @@ -753,7 +756,7 @@ def posixfsIntegrationTests(parallelRuns, skipExceptParts = []): "image": OC_CI_PHP, "commands": [ "cd /drone/src/tmp/testrunner", - "make test-acceptance-from-core-api", + "make test-acceptance-api", ], "environment": { "TEST_SERVER_URL": "http://revad-services:20080", @@ -769,6 +772,7 @@ def posixfsIntegrationTests(parallelRuns, skipExceptParts = []): "DIVIDE_INTO_NUM_PARTS": parallelRuns, "RUN_PART": runPart, "EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-on-POSIX-storage.md", + "ACCEPTANCE_TEST_TYPE": "core-api", }, }, ],