-
Notifications
You must be signed in to change notification settings - Fork 128
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
fix: authz exec and coverage directory location #1173
fix: authz exec and coverage directory location #1173
Conversation
The node `HomeDir()` is `/var/cosmos-chain/[CHAIN_NAME]` and not `/var/cosmos-chain/[CHAIN_ID]`
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The failing test in the previous run is unrelated to this PR. It also fails on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failing e2e test is related:
code_coverage_test.go:87:
Error Trace: /home/runner/work/interchaintest/interchaintest/examples/cosmos/code_coverage_test.go:87
/home/runner/go/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1175
/home/runner/go/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1353
/home/runner/go/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1683
Error: Should NOT be empty, but was []
Test: TestCodeCoverage
Code coverage is not finding coverage files in the home dir. It was originally pulling /var/cosmos-chain/manifest-2
which is where it is actually stored (not name), but due to that being the core repo it is possible the output never actually happened for the cov files
Head branch was pushed to by a user without write access
@@ -52,7 +52,7 @@ func TestCodeCoverage(t *testing.T) { | |||
{ | |||
Name: "manifest", | |||
Version: cfgA.Images[0].Version, | |||
ChainName: cfgA.ChainID, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahhhh
This PR
HomeDir()
Relates #1130 #1158
@Reecepbcups