Skip to content

Commit

Permalink
Update the registry in CLI functional test (radius-project#7779)
Browse files Browse the repository at this point in the history
It uses localhost:5000 by default which only applies for the non-cloud
functional tests. It breaks the long-running tests.

Signed-off-by: ytimocin <ytimocin@microsoft.com>
  • Loading branch information
ytimocin authored and superbeeny committed Aug 14, 2024
1 parent 86a45dc commit ae724a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/functional-portable/cli/noncloud/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ func verifyRecipeCLI(ctx context.Context, t *testing.T, test rp.RPTest) {
resourceType := "Applications.Datastores/redisCaches"
file := "../../../testrecipes/test-bicep-recipes/corerp-redis-recipe.bicep"

target := fmt.Sprintf("br:%s/dev/test-bicep-recipes/redis-recipe:%s", registry, generateUniqueTag())
target := fmt.Sprintf("br:%s/dev/test-bicep-recipes/redis-recipe:%s",
strings.TrimPrefix(registry, "registry="), generateUniqueTag())

recipeName := "recipeName"
recipeTemplate := fmt.Sprintf("%s/recipes/local-dev/rediscaches:%s", registry, version)
Expand Down

0 comments on commit ae724a4

Please sign in to comment.