Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid docker debian image ratelimitting issue in long running test #7067

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/functional/shared/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

image: magpieimage
command: ['/bin/sh']

// The test looks for this specific output, keep in sync with the CLI run test!
Expand Down
Loading