From 669d4171f83c5885026a87fcfe8637820521da16 Mon Sep 17 00:00:00 2001 From: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> Date: Thu, 11 Dec 2025 16:24:37 -0800 Subject: [PATCH 1/5] fix: improve parallelism in functional test commands Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> --- build/test.mk | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/build/test.mk b/build/test.mk index 0a68676334..dd6efb4019 100644 --- a/build/test.mk +++ b/build/test.mk @@ -4,7 +4,7 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software @@ -86,76 +86,76 @@ test-functional-ucp: test-functional-ucp-noncloud test-functional-ucp-cloud ## R .PHONY: test-functional-ucp-noncloud test-functional-ucp-noncloud: ## Runs UCP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 2 $(GOTEST_OPTS) .PHONY: test-functional-ucp-cloud test-functional-ucp-cloud: ## Runs UCP functional tests that require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 1 $(GOTEST_OPTS) .PHONY: test-functional-kubernetes test-functional-kubernetes: test-functional-kubernetes-noncloud ## Runs all Kubernetes functional tests - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/kubernetes/... -timeout ${TEST_TIMEOUT} -v -parallel 5 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/kubernetes/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 1 $(GOTEST_OPTS) .PHONY: test-functional-kubernetes-noncloud test-functional-kubernetes-noncloud: ## Runs Kubernetes functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/kubernetes/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/kubernetes/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 1 $(GOTEST_OPTS) .PHONY: test-functional-corerp test-functional-corerp: test-functional-corerp-noncloud test-functional-corerp-cloud ## Runs all Core RP functional tests (both cloud and non-cloud) .PHONY: test-functional-corerp-noncloud test-functional-corerp-noncloud: ## Runs corerp functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 1 $(GOTEST_OPTS) .PHONY: test-functional-corerp-cloud test-functional-corerp-cloud: ## Runs corerp functional tests that require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 1 $(GOTEST_OPTS) .PHONY: test-functional-msgrp test-functional-msgrp: test-functional-msgrp-noncloud ## Runs all Messaging RP functional tests (both cloud and non-cloud) .PHONY: test-functional-msgrp-noncloud test-functional-msgrp-noncloud: ## Runs Messaging RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/messagingrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/messagingrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 2 -p 2 $(GOTEST_OPTS) .PHONY: test-functional-cli test-functional-cli: test-functional-cli-noncloud ## Runs all cli functional tests (both cloud and non-cloud) .PHONY: test-functional-cli-noncloud test-functional-cli-noncloud: ## Runs cli functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/cli/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/cli/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 2 $(GOTEST_OPTS) .PHONY: test-functional-daprrp test-functional-daprrp: test-functional-daprrp-noncloud ## Runs all Dapr RP functional tests (both cloud and non-cloud) .PHONY: test-functional-daprrp-noncloud test-functional-daprrp-noncloud: ## Runs Dapr RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/daprrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 3 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/daprrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 3 -p 1 $(GOTEST_OPTS) .PHONY: test-functional-datastoresrp test-functional-datastoresrp: test-functional-datastoresrp-noncloud ## Runs all Datastores RP functional tests (non-cloud) .PHONY: test-functional-datastoresrp-noncloud test-functional-datastoresrp-noncloud: ## Runs Datastores RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/datastoresrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 3 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/datastoresrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 3 -p 2 $(GOTEST_OPTS) .PHONY: test-functional-dynamicrp-noncloud test-functional-dynamicrp-noncloud: ## Runs Dynamic RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/dynamicrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 1 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/dynamicrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 1 -p 2 $(GOTEST_OPTS) .PHONY: test-functional-upgrade test-functional-upgrade: test-functional-upgrade-noncloud ## Runs all Upgrade functional tests .PHONY: test-functional-upgrade-noncloud test-functional-upgrade-noncloud: ## Runs Upgrade functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/upgrade/... -timeout ${TEST_TIMEOUT} -v -parallel 1 $(GOTEST_OPTS) - + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/upgrade/... -timeout ${TEST_TIMEOUT} -v -parallel 1 -p 1 $(GOTEST_OPTS) + .PHONY: test-functional-samples test-functional-samples: test-functional-samples-noncloud ## Runs all Samples functional tests .PHONY: test-functional-samples-noncloud test-functional-samples-noncloud: ## Runs Samples functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/samples/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/samples/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 2 $(GOTEST_OPTS) .PHONY: test-validate-bicep test-validate-bicep: ## Validates that all .bicep files compile cleanly @@ -175,7 +175,7 @@ oav-installed: @echo "$(ARROW) OK" # TODO re-enable https://github.com/radius-project/radius/issues/5091 -.PHONY: test-ucp-spec-examples +.PHONY: test-ucp-spec-examples test-ucp-spec-examples: oav-installed ## Validates UCP examples conform to UCP OpenAPI Spec # @echo "$(ARROW) Testing x-ms-examples conform to ucp spec..." # oav validate-example swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json From 5762a7685341c7ff0ff7780f4996e89f56a38915 Mon Sep 17 00:00:00 2001 From: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> Date: Thu, 11 Dec 2025 16:25:09 -0800 Subject: [PATCH 2/5] fix: replace static sleep with dynamic wait for cleanup completion in preflight tests Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> --- test/functional-portable/upgrade/upgrade_test.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test/functional-portable/upgrade/upgrade_test.go b/test/functional-portable/upgrade/upgrade_test.go index 7081fee5b1..faa1eadf2e 100644 --- a/test/functional-portable/upgrade/upgrade_test.go +++ b/test/functional-portable/upgrade/upgrade_test.go @@ -114,7 +114,11 @@ func Test_PreflightContainer_PreflightDisabled(t *testing.T) { _ = exec.Command(cleanupCommand[0], cleanupCommand[1:]...).Run() // Ignore errors during cleanup // Wait for cleanup to complete - time.Sleep(3 * time.Second) + require.Eventually(t, func() bool { + cmd := exec.Command("helm", "status", "radius", "--namespace", radiusNamespace) + err := cmd.Run() + return err != nil + }, 30*time.Second, 1*time.Second, "Radius release was not uninstalled") t.Log("Installing Radius with preflight disabled using helm") installCommand := []string{ @@ -180,7 +184,11 @@ func Test_PreflightContainer_JobConfiguration(t *testing.T) { _ = exec.Command(cleanupCommand[0], cleanupCommand[1:]...).Run() // Ignore errors during cleanup // Wait for cleanup to complete - time.Sleep(3 * time.Second) + require.Eventually(t, func() bool { + cmd := exec.Command("helm", "status", "radius", "--namespace", radiusNamespace) + err := cmd.Run() + return err != nil + }, 30*time.Second, 1*time.Second, "Radius release was not uninstalled") // Use local registry image for testing t.Log("Installing Radius with custom preflight configuration using helm") From 5030b2514fa7d0aa9d24a39fe2ce097bd01128ed Mon Sep 17 00:00:00 2001 From: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> Date: Thu, 11 Dec 2025 17:14:09 -0800 Subject: [PATCH 3/5] fix: enable fast cleanup for functional tests and optimize parallelism in test execution Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> --- .github/workflows/long-running-azure.yaml | 1 + build/test.mk | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/long-running-azure.yaml b/.github/workflows/long-running-azure.yaml index 17e0c68f05..5e2a6802fa 100644 --- a/.github/workflows/long-running-azure.yaml +++ b/.github/workflows/long-running-azure.yaml @@ -692,6 +692,7 @@ jobs: BICEP_RECIPE_TAG_VERSION: ${{ env.BICEP_RECIPE_TAG_VERSION }} GH_TOKEN: ${{ steps.get_installation_token.outputs.token }} GIT_HTTP_PASSWORD: ${{ env.GIT_HTTP_PASSWORD }} + RADIUS_TEST_FAST_CLEANUP: "true" - name: Collect Pod details if: always() diff --git a/build/test.mk b/build/test.mk index dd6efb4019..0aa4e78753 100644 --- a/build/test.mk +++ b/build/test.mk @@ -86,11 +86,11 @@ test-functional-ucp: test-functional-ucp-noncloud test-functional-ucp-cloud ## R .PHONY: test-functional-ucp-noncloud test-functional-ucp-noncloud: ## Runs UCP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 8 -p 4 $(GOTEST_OPTS) .PHONY: test-functional-ucp-cloud test-functional-ucp-cloud: ## Runs UCP functional tests that require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 1 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 2 $(GOTEST_OPTS) .PHONY: test-functional-kubernetes test-functional-kubernetes: test-functional-kubernetes-noncloud ## Runs all Kubernetes functional tests @@ -105,43 +105,43 @@ test-functional-corerp: test-functional-corerp-noncloud test-functional-corerp-c .PHONY: test-functional-corerp-noncloud test-functional-corerp-noncloud: ## Runs corerp functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 1 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 15 -p 3 $(GOTEST_OPTS) .PHONY: test-functional-corerp-cloud test-functional-corerp-cloud: ## Runs corerp functional tests that require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 1 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 2 $(GOTEST_OPTS) .PHONY: test-functional-msgrp test-functional-msgrp: test-functional-msgrp-noncloud ## Runs all Messaging RP functional tests (both cloud and non-cloud) .PHONY: test-functional-msgrp-noncloud test-functional-msgrp-noncloud: ## Runs Messaging RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/messagingrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 2 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/messagingrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 4 -p 4 $(GOTEST_OPTS) .PHONY: test-functional-cli test-functional-cli: test-functional-cli-noncloud ## Runs all cli functional tests (both cloud and non-cloud) .PHONY: test-functional-cli-noncloud test-functional-cli-noncloud: ## Runs cli functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/cli/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/cli/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 4 $(GOTEST_OPTS) .PHONY: test-functional-daprrp test-functional-daprrp: test-functional-daprrp-noncloud ## Runs all Dapr RP functional tests (both cloud and non-cloud) .PHONY: test-functional-daprrp-noncloud test-functional-daprrp-noncloud: ## Runs Dapr RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/daprrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 3 -p 1 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/daprrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 2 $(GOTEST_OPTS) .PHONY: test-functional-datastoresrp test-functional-datastoresrp: test-functional-datastoresrp-noncloud ## Runs all Datastores RP functional tests (non-cloud) .PHONY: test-functional-datastoresrp-noncloud test-functional-datastoresrp-noncloud: ## Runs Datastores RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/datastoresrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 3 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/datastoresrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 4 $(GOTEST_OPTS) .PHONY: test-functional-dynamicrp-noncloud test-functional-dynamicrp-noncloud: ## Runs Dynamic RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/dynamicrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 1 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/dynamicrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 3 -p 2 $(GOTEST_OPTS) .PHONY: test-functional-upgrade test-functional-upgrade: test-functional-upgrade-noncloud ## Runs all Upgrade functional tests @@ -155,7 +155,7 @@ test-functional-samples: test-functional-samples-noncloud ## Runs all Samples fu .PHONY: test-functional-samples-noncloud test-functional-samples-noncloud: ## Runs Samples functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/samples/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/samples/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 8 -p 4 $(GOTEST_OPTS) .PHONY: test-validate-bicep test-validate-bicep: ## Validates that all .bicep files compile cleanly From ec753bd6cf0c301fb243155c9a14f08ecde4a5b1 Mon Sep 17 00:00:00 2001 From: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> Date: Fri, 12 Dec 2025 13:04:56 -0800 Subject: [PATCH 4/5] fix: disable fast cleanup for long-running Azure tests Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> --- .github/workflows/long-running-azure.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/long-running-azure.yaml b/.github/workflows/long-running-azure.yaml index 5e2a6802fa..17e0c68f05 100644 --- a/.github/workflows/long-running-azure.yaml +++ b/.github/workflows/long-running-azure.yaml @@ -692,7 +692,6 @@ jobs: BICEP_RECIPE_TAG_VERSION: ${{ env.BICEP_RECIPE_TAG_VERSION }} GH_TOKEN: ${{ steps.get_installation_token.outputs.token }} GIT_HTTP_PASSWORD: ${{ env.GIT_HTTP_PASSWORD }} - RADIUS_TEST_FAST_CLEANUP: "true" - name: Collect Pod details if: always() From ed4bc3f70c2b7428fdabe3a297caa2c96b3cd422 Mon Sep 17 00:00:00 2001 From: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> Date: Fri, 12 Dec 2025 14:41:12 -0800 Subject: [PATCH 5/5] fix: remove unnecessary parallelism flags from functional test commands Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> --- build/test.mk | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/build/test.mk b/build/test.mk index 0aa4e78753..185681c4ff 100644 --- a/build/test.mk +++ b/build/test.mk @@ -86,62 +86,62 @@ test-functional-ucp: test-functional-ucp-noncloud test-functional-ucp-cloud ## R .PHONY: test-functional-ucp-noncloud test-functional-ucp-noncloud: ## Runs UCP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 8 -p 4 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/noncloud/... -timeout ${TEST_TIMEOUT} -v -p 4 $(GOTEST_OPTS) .PHONY: test-functional-ucp-cloud test-functional-ucp-cloud: ## Runs UCP functional tests that require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/ucp/cloud/... -timeout ${TEST_TIMEOUT} -v -p 2 $(GOTEST_OPTS) .PHONY: test-functional-kubernetes test-functional-kubernetes: test-functional-kubernetes-noncloud ## Runs all Kubernetes functional tests - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/kubernetes/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 1 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/kubernetes/... -timeout ${TEST_TIMEOUT} -v -p 1 $(GOTEST_OPTS) .PHONY: test-functional-kubernetes-noncloud test-functional-kubernetes-noncloud: ## Runs Kubernetes functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/kubernetes/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 1 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/kubernetes/noncloud/... -timeout ${TEST_TIMEOUT} -v -p 1 $(GOTEST_OPTS) .PHONY: test-functional-corerp test-functional-corerp: test-functional-corerp-noncloud test-functional-corerp-cloud ## Runs all Core RP functional tests (both cloud and non-cloud) .PHONY: test-functional-corerp-noncloud test-functional-corerp-noncloud: ## Runs corerp functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 15 -p 3 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/noncloud/... -timeout ${TEST_TIMEOUT} -v -p 3 $(GOTEST_OPTS) .PHONY: test-functional-corerp-cloud test-functional-corerp-cloud: ## Runs corerp functional tests that require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/corerp/cloud/... -timeout ${TEST_TIMEOUT} -v -p 2 $(GOTEST_OPTS) .PHONY: test-functional-msgrp test-functional-msgrp: test-functional-msgrp-noncloud ## Runs all Messaging RP functional tests (both cloud and non-cloud) .PHONY: test-functional-msgrp-noncloud test-functional-msgrp-noncloud: ## Runs Messaging RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/messagingrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 4 -p 4 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/messagingrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -p 2 $(GOTEST_OPTS) .PHONY: test-functional-cli test-functional-cli: test-functional-cli-noncloud ## Runs all cli functional tests (both cloud and non-cloud) .PHONY: test-functional-cli-noncloud test-functional-cli-noncloud: ## Runs cli functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/cli/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 10 -p 4 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/cli/noncloud/... -timeout ${TEST_TIMEOUT} -v -p 4 $(GOTEST_OPTS) .PHONY: test-functional-daprrp test-functional-daprrp: test-functional-daprrp-noncloud ## Runs all Dapr RP functional tests (both cloud and non-cloud) .PHONY: test-functional-daprrp-noncloud test-functional-daprrp-noncloud: ## Runs Dapr RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/daprrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/daprrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -p 2 $(GOTEST_OPTS) .PHONY: test-functional-datastoresrp test-functional-datastoresrp: test-functional-datastoresrp-noncloud ## Runs all Datastores RP functional tests (non-cloud) .PHONY: test-functional-datastoresrp-noncloud test-functional-datastoresrp-noncloud: ## Runs Datastores RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/datastoresrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 5 -p 4 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/datastoresrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -p 3 $(GOTEST_OPTS) .PHONY: test-functional-dynamicrp-noncloud test-functional-dynamicrp-noncloud: ## Runs Dynamic RP functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/dynamicrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 3 -p 2 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/dynamicrp/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 1 -p 1 $(GOTEST_OPTS) .PHONY: test-functional-upgrade test-functional-upgrade: test-functional-upgrade-noncloud ## Runs all Upgrade functional tests @@ -155,7 +155,7 @@ test-functional-samples: test-functional-samples-noncloud ## Runs all Samples fu .PHONY: test-functional-samples-noncloud test-functional-samples-noncloud: ## Runs Samples functional tests that do not require cloud resources - CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/samples/noncloud/... -timeout ${TEST_TIMEOUT} -v -parallel 8 -p 4 $(GOTEST_OPTS) + CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/samples/noncloud/... -timeout ${TEST_TIMEOUT} -v -p 4 $(GOTEST_OPTS) .PHONY: test-validate-bicep test-validate-bicep: ## Validates that all .bicep files compile cleanly