You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the command fails the full command will be presented to the user on error.
Actual
The command is not always presented back to the user, in this case here's the output:
thread 'test_default_app_latest_distro' panicked at /Users/rschneeman/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcnb-test-0.25.0/src/test_context.rs:194:43:
Error running container:
docker command failed with exit code 2!
## stderr:
bash: -c: line 1: unexpected EOF while looking for matching `"'
## stdout:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
test_default_app_latest_distro
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 6 filtered out; finished in 13.85s
It will show for other cases like trying to run "doesnotexist" but it would be easier to see that there's a missing quotation mark if the full command is visible in the error output like:
Context
When using
run_shell_command
in an integration test:Expected
If the command fails the full command will be presented to the user on error.
Actual
The command is not always presented back to the user, in this case here's the output:
It will show for other cases like trying to run
"doesnotexist"
but it would be easier to see that there's a missing quotation mark if the full command is visible in the error output like:Or something similar.
The text was updated successfully, but these errors were encountered: