Skip to content

Commit

Permalink
Fixes sanity tests
Browse files Browse the repository at this point in the history
The sanity tests are failing with the following error:

exec kubectl version
error: enter: cannot provide -v/--verbose before "exec" subcommand

Pebble was recently updated, no longer allowing exec after --verbose
(which is in the entrypoint).

This fixes the sanity tests by using the --entrypoint docker run
parameter.
  • Loading branch information
claudiubelu committed Jul 17, 2024
1 parent c015eda commit d00f9d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/sanity/test_whereabouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ def _run_in_docker(image, check_exit_code, *command):
"run",
"--rm",
"-i",
"--entrypoint",
command[0],
image,
"exec",
*command,
*command[1:],
],
check=check_exit_code,
capture_output=True,
Expand Down

0 comments on commit d00f9d0

Please sign in to comment.