-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
R4R: Make cli tests use build files #3808
Conversation
@@ -160,8 +160,8 @@ godocs: | |||
|
|||
test: test_unit | |||
|
|||
test_cli: | |||
@go test -p 4 `go list github.com/cosmos/cosmos-sdk/cmd/gaia/cli_test` -tags=cli_test | |||
test_cli: build |
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.
++
@@ -163,7 +163,7 @@ func (f *Fixtures) Flags() string { | |||
|
|||
// UnsafeResetAll is gaiad unsafe-reset-all | |||
func (f *Fixtures) UnsafeResetAll(flags ...string) { | |||
cmd := fmt.Sprintf("gaiad --home=%s unsafe-reset-all", f.GDHome) | |||
cmd := fmt.Sprintf("../../../build/gaiad --home=%s unsafe-reset-all", f.GDHome) |
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.
I feel like this is something we should define on the Fixtures
object (maybe gdcmd
and gclicmd
attributes) then it can be easily switched in and out for different usages (one example would be checking in NewFixtures
if CI=true
and directing to a previously built binary).
This localnet failure is due to not being able to pull the
It sounds like this issue has been fixed. Kicking the tests. Great add @jaekwon! |
Add PR number.
Codecov Report
@@ Coverage Diff @@
## develop #3808 +/- ##
===========================================
+ Coverage 60.88% 60.95% +0.07%
===========================================
Files 191 191
Lines 14180 14185 +5
===========================================
+ Hits 8633 8647 +14
+ Misses 4991 4984 -7
+ Partials 556 554 -2 |
No description provided.