Closed spham closed 10 months ago
If you're the root user and not using Goss, can you run "patroni --version"? If you can't and see the same error when using Goss, then Goss is working properly.
Assuming the above is correct, take a look at the suggestions in this issue: https://github.com/goss-org/goss/issues/600#issue-655007554
Hello, did the above address your question?
closing ticket, feel free to open a new issue if this is still a problem
I am encountering a problem while attempting to verify if a Python package, "patroni," is installed. I tried using the goss add command "patroni --version" command, which produced the following results:
As a non-root user:
As the root user:
The "patroni" package was installed using the command python3 -m pip install patroni by a specific user. However, it appears that the goss testing tool does not have a specific method for testing packages installed with pip. This is the issue I am facing while running ansible goss tests.
How to have same behaviour like package command ? it's work on all cases