-
Notifications
You must be signed in to change notification settings - Fork 150
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
chore: swap name of 'e2e' and 'integration' tests #681
Merged
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
6e4cec6
save first changes
sainoe a857494
fix gh workflow
sainoe 527f8f5
Merge branch 'main' into sainoe/swap-e2e-intg-names
sainoe 105de44
update gh actions
sainoe 8dda196
fix bug
sainoe 2886360
squash commits
sainoe a4a223a
Merge branch 'sainoe/swap-e2e-intg-names' of https://github.com/cosmo…
sainoe 06fb48e
update dockerfile.gaia
sainoe d211480
Simply use Test rather than Ingt for naming integration test keepers
sainoe e514407
Merge branch 'main' into sainoe/swap-e2e-intg-names
sainoe 6988b5f
update git workflows
sainoe 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
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
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
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
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 | ||||
---|---|---|---|---|---|---|
|
@@ -78,13 +78,13 @@ import ( | |||||
tmos "github.com/tendermint/tendermint/libs/os" | ||||||
dbm "github.com/tendermint/tm-db" | ||||||
|
||||||
"github.com/cosmos/interchain-security/testutil/e2e" | ||||||
ibcconsumer "github.com/cosmos/interchain-security/x/ccv/consumer" | ||||||
ibcconsumerkeeper "github.com/cosmos/interchain-security/x/ccv/consumer/keeper" | ||||||
ibcconsumertypes "github.com/cosmos/interchain-security/x/ccv/consumer/types" | ||||||
|
||||||
// unnamed import of statik for swagger UI support | ||||||
_ "github.com/cosmos/cosmos-sdk/client/docs/statik" | ||||||
intgutil "github.com/cosmos/interchain-security/testutil/integration" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
) | ||||||
|
||||||
const ( | ||||||
|
@@ -646,30 +646,30 @@ func (app *App) SimulationManager() *module.SimulationManager { | |||||
return app.sm | ||||||
} | ||||||
|
||||||
// ConsumerApp interface implementations for e2e tests | ||||||
// ConsumerApp interface implementations for integration tests | ||||||
|
||||||
// GetConsumerKeeper implements the ConsumerApp interface. | ||||||
func (app *App) GetConsumerKeeper() ibcconsumerkeeper.Keeper { | ||||||
return app.ConsumerKeeper | ||||||
} | ||||||
|
||||||
// GetE2eBankKeeper implements the ConsumerApp interface. | ||||||
func (app *App) GetE2eBankKeeper() e2e.E2eBankKeeper { | ||||||
// GetIntgBankKeeper implements the ConsumerApp interface. | ||||||
func (app *App) GetIntgBankKeeper() intgutil.IntgBankKeeper { | ||||||
return app.BankKeeper | ||||||
} | ||||||
|
||||||
// GetE2eAccountKeeper implements the ConsumerApp interface. | ||||||
func (app *App) GetE2eAccountKeeper() e2e.E2eAccountKeeper { | ||||||
// GetIntgAccountKeeper implements the ConsumerApp interface. | ||||||
func (app *App) GetIntgAccountKeeper() intgutil.IntgAccountKeeper { | ||||||
return app.AccountKeeper | ||||||
} | ||||||
|
||||||
// GetE2eSlashingKeeper implements the ConsumerApp interface. | ||||||
func (app *App) GetE2eSlashingKeeper() e2e.E2eSlashingKeeper { | ||||||
// GetIntgSlashingKeeper implements the ConsumerApp interface. | ||||||
func (app *App) GetIntgSlashingKeeper() intgutil.IntgSlashingKeeper { | ||||||
return app.SlashingKeeper | ||||||
} | ||||||
|
||||||
// GetE2eEvidenceKeeper implements the ConsumerApp interface. | ||||||
func (app *App) GetE2eEvidenceKeeper() e2e.E2eEvidenceKeeper { | ||||||
// GetIntgEvidenceKeeper implements the ConsumerApp interface. | ||||||
func (app *App) GetIntgEvidenceKeeper() intgutil.IntgEvidenceKeeper { | ||||||
return app.EvidenceKeeper | ||||||
} | ||||||
|
||||||
|
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 is trivial but I'd probably just call this
TestBankKeeper
(same prefix for other test keepers). E2E tests are treating Gaia like a black box anyway.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.
Good point