-
Notifications
You must be signed in to change notification settings - Fork 72
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
[BUG] Spec tests are unable to find local Helm installation. #1909
Comments
I can look into this one. |
After some troubleshooting, I found out, that for spec tests variable Possible workarounds:
or
I also tried to add Any ideas for better solution, or why this happens only for spec tests? |
I am checking this now |
Ref cnti-testcatalog#1909 Co-authored-by: Tomas Macak <[email protected]> Signed-off-by: Michal Ptacek <[email protected]>
Ref #1909 Signed-off-by: Michal Ptacek <[email protected]> Co-authored-by: Michal Ptacek <[email protected]>
can we close it now ? |
Hello, I don't think this is fixed. I found a spec test that fails when Helm is not installed globally. Here are the results:
Spec test failed and did not perform the necessary cleanup at the end. However, when I executed the test within this spec test, it passed without any issues. In the info logs, I observed the following:
When I installed Helm globally, it started working correctly without any issues.:
|
Ref cnti-testcatalog#1909 Signed-off-by: Michal Ptacek <[email protected]>
No helm errors when running
|
Ref cnti-testcatalog#1909 Signed-off-by: Michal Ptacek <[email protected]>
Describe the bug
According to
INSTALL.md
andSOURCE_INSTALL.md
, helm is an optional dependency that gets installed locally during the build/setup of testsuite. This applies to running the regular workloads, but not for spec tests, which will fail without a global installation.To Reproduce
/bin/...
clone
,shards install
,crystal build src/cnf-testsuite.cr
)../cnf-testsuite setup
crystal spec
Expected behavior
Spec tests should be capable of finding the local helm installation.
Solution
This is speculation on my part but I think that the path is incorrect for spec tests as upon running
find
, this is the output:where
/.cnf-testsuite/tools/helm/linux-amd64/helm
leads to an actual helm binary, which I presume is the path that is being used in the main workload (didn't check).The text was updated successfully, but these errors were encountered: