Skip to content

fix: fix execute bash test command failing on pipeline #956

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

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

pras0131
Copy link
Contributor

@pras0131 pras0131 commented Apr 14, 2025

The test case fixed was failing in the internal pipeline as the response is expected to be different in case ls command is run against empty current working directory and on pipeline current working directory seems to be empty. Changed the test case to test the structure instead. result.output.content.exitStatus in case of ls on empty directory is not 0 but instead -2 and result.output.content.stdout is an empty string.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@pras0131 pras0131 requested a review from a team as a code owner April 14, 2025 14:11
@pras0131 pras0131 merged commit 461957d into main Apr 14, 2025
6 checks passed
@pras0131 pras0131 deleted the fixExecuteBashLsTest branch April 14, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants