-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Make integration test suites reusable by apps #6711
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
818400a
WIP on refactoring new integration tests.
aaronc 3f0ad0a
godocs
aaronc ed3a63c
godocs
aaronc 6439e0a
Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aa…
aaronc 049d857
Fix ineff assign
aaronc fc68fb7
Merge branch 'master' into aaronc/6423-refactor
aaronc 61d5e58
Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aa…
aaronc 4542729
Updates
aaronc 75c66b3
Updates
aaronc 1ebcb8a
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/642…
atheeshp bd85bbe
fix test
atheeshp 285613b
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/642…
atheeshp 58fe735
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/642…
atheeshp 3fa0933
refactor crisis, distr testsuites
atheeshp 6aedb8e
fix import issue
atheeshp 62fb975
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/642…
atheeshp 8160bd7
refactor x/auth
atheeshp 1819581
refactor x/authz
atheeshp 4e41864
refactor x/evidence
atheeshp 6e629cc
refactor x/feegrant
atheeshp bf54933
refactor x/genutil
atheeshp aa6491c
refactor x/gov
atheeshp 383dbe8
refactor x/mint
atheeshp 7adfb8f
refactor x/params
atheeshp 2574813
refactor x/{auth_vesting, slashing, staking}
atheeshp 5ef53f8
fix lint
atheeshp 041f09f
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/642…
atheeshp 1c71ffd
fix tests & lint
atheeshp ed3427a
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/642…
atheeshp f3b03c2
fix lint
atheeshp a35f929
fix tests
atheeshp 27e3b7a
lint
atheeshp 2a0e510
lint
atheeshp 144828a
fix lint memory
atheeshp a6e3ca2
add missing `norace` build flag
atheeshp f6c3d19
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/642…
atheeshp a6bce03
Merge branch 'master' into aaronc/6423-refactor
atheeshp 85a3bd4
Merge branch 'master' into aaronc/6423-refactor
atheeshp 73810b9
Merge branch 'aaronc/6423-refactor' of github.com:cosmos/cosmos-sdk i…
atheeshp b18f331
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/642…
atheeshp 68de88c
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/642…
atheeshp 713a3fe
update feegrant cfg
atheeshp ed174c1
fix lint
atheeshp 2920179
Merge branch 'master' into aaronc/6423-refactor
atheeshp 8a8fb16
Merge branch 'master' into aaronc/6423-refactor
atheeshp 82d90c2
Merge branch 'master' into aaronc/6423-refactor
atheeshp feaf4fd
Merge branch 'master' into aaronc/6423-refactor
atheeshp 0f1249d
Merge branch 'master' into aaronc/6423-refactor
atheeshp dcccac7
Merge branch 'master' into aaronc/6423-refactor
atheeshp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// +build norace | ||
|
||
package testutil | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/cosmos/cosmos-sdk/testutil/network" | ||
|
||
"github.com/stretchr/testify/suite" | ||
) | ||
|
||
func TestIntegrationTestSuite(t *testing.T) { | ||
cfg := network.DefaultConfig() | ||
cfg.NumValidators = 2 | ||
suite.Run(t, NewIntegrationTestSuite(cfg)) | ||
} |
137 changes: 67 additions & 70 deletions
137
x/auth/client/cli/cli_test.go → x/auth/client/testutil/suite.go
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// +build norace | ||
|
||
package testutil | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/cosmos/cosmos-sdk/testutil/network" | ||
|
||
"github.com/stretchr/testify/suite" | ||
) | ||
|
||
func TestIntegrationTestSuite(t *testing.T) { | ||
cfg := network.DefaultConfig() | ||
cfg.NumValidators = 1 | ||
suite.Run(t, NewIntegrationTestSuite(cfg)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// +build norace | ||
|
||
package testutil | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/cosmos/cosmos-sdk/testutil/network" | ||
|
||
"github.com/stretchr/testify/suite" | ||
) | ||
|
||
func TestIntegrationTestSuite(t *testing.T) { | ||
cfg := network.DefaultConfig() | ||
cfg.NumValidators = 1 | ||
suite.Run(t, NewIntegrationTestSuite(cfg)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This might break race detection