diff --git a/test/functional/shared/cli/cli_test.go b/test/functional/shared/cli/cli_test.go index ae38a5db3f..b832e7b7fa 100644 --- a/test/functional/shared/cli/cli_test.go +++ b/test/functional/shared/cli/cli_test.go @@ -294,6 +294,8 @@ func Test_Run_Logger(t *testing.T) { filepath.Join(cwd, template), "--application", applicationName, + "--parameters", + functional.GetMagpieImage(), } // 'rad run' streams logs until canceled by the user. This is why we can't 'just' run the command in diff --git a/test/functional/shared/cli/testdata/corerp-kubernetes-cli-run.bicep b/test/functional/shared/cli/testdata/corerp-kubernetes-cli-run.bicep index 9e3a1531ce..9a5c4f4396 100644 --- a/test/functional/shared/cli/testdata/corerp-kubernetes-cli-run.bicep +++ b/test/functional/shared/cli/testdata/corerp-kubernetes-cli-run.bicep @@ -2,13 +2,16 @@ import radius as radius param application string +@description('Specifies the image to be deployed.') +param magpieimage string + resource container 'Applications.Core/containers@2023-10-01-preview' = { name: 'k8s-cli-run-logger' location: 'global' properties: { application: application container: { - image: 'debian' + image: magpieimage command: ['/bin/sh'] // The test looks for this specific output, keep in sync with the CLI run test!