Skip to content
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: 1 addition & 1 deletion packages/js-sdk/tests/template/methods/runCmd.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ buildTemplateTest(
.runCmd('whoami', { user: 'root123' })

await expect(buildTemplate(template)).rejects.toThrow(
"failed to run command 'whoami': command failed: unauthenticated: invalid username: 'root123'"
"failed to run command: command failed: unauthenticated: invalid username: 'root123'"
)
}
)
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ async def test_run_command_as_user_that_does_not_exist(async_build):
await async_build(template)

assert (
"failed to run command 'whoami': command failed: unauthenticated: invalid username: 'root123'"
"failed to run command: command failed: unauthenticated: invalid username: 'root123'"
in str(exc_info.value)
)
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ def test_run_command_as_user_that_does_not_exist(build):
build(template)

assert (
"failed to run command 'whoami': command failed: unauthenticated: invalid username: 'root123'"
"failed to run command: command failed: unauthenticated: invalid username: 'root123'"
in str(exc_info.value)
)
Loading