Skip to content

Commit

Permalink
Change test organization for datastoresrp tests (radius-project#7224)
Browse files Browse the repository at this point in the history
# Description

- Separate cloud/non-cloud tests
- Organize the daprrp tests as per
radius-project/design-notes#35. There will be
more PRs that will follow to re-org the other tests.

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request adds or changes features of Radius and has an
approved issue (radius-project#6588).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: Fixes part of
radius-project#6588. This is a part of
a multi-PR fix

---------

Signed-off-by: vinayada1 <[email protected]>
  • Loading branch information
vinayada1 authored Mar 5, 2024
1 parent 231966a commit 389526f
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,13 @@ test-functional-cli-noncloud: ## Runs cli functional tests that do not require c
test-functional-daprrp: ## Runs Dapr RP functional tests
CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional/daprrp/... -timeout ${TEST_TIMEOUT} -v -parallel 3 $(GOTEST_OPTS)

test-functional-datastoresrp: ## Runs Datastores RP functional tests
CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional/datastoresrp/... -timeout ${TEST_TIMEOUT} -v -parallel 3 $(GOTEST_OPTS)
test-functional-datastoresrp: test-functional-datastoresrp-noncloud test-functional-datastoresrp-cloud ## Runs all Datastores RP functional tests (non-cloud and cloud)

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)

test-functional-datastoresrp-cloud: ## Runs Datastores RP functional tests that require cloud resources
CGO_ENABLED=1 $(GOTEST_TOOL) ./test/functional-portable/datastoresrp/cloud/... -timeout ${TEST_TIMEOUT} -v -parallel 3 $(GOTEST_OPTS)

test-functional-samples: test-functional-samples-noncloud ## Runs all Samples functional tests

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,6 @@ func Test_MicrosoftSQL_Manual(t *testing.T) {
},
})

test.RequiredFeatures = []shared.RequiredFeature{shared.FeatureAzure}
test.Test(t)
}

0 comments on commit 389526f

Please sign in to comment.