Skip to content

Commit

Permalink
Update the registry in CLI functional test
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 <[email protected]>
  • Loading branch information
ytimocin committed Aug 1, 2024
1 parent 78b52b1 commit 0cbdf2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional-portable/cli/noncloud/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +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"

// The target is a local registry, so we can use localhost.
target := fmt.Sprintf("br:localhost:5000/dev/test-bicep-recipes/redis-recipe:%s", 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 0cbdf2f

Please sign in to comment.