mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
0156b0e645
* update kvtool * add env vars for e2e automated upgrades * run kvtool with upgrade flags when enabled * add e2e test placeholder for upgrade handler tests * allow override of kvtool's kava.configTemplate * use the correct image tag when running e2e tests * update kvtool * always docker-build when running make test-e2e * refactor skip shutdown to always skip shutdown * add CtxAtHeight grpc helper * add Community & Earn queriers * expose UpgradeHeight in suite * document e2e chain upgrades * add reference to example branch
13 lines
423 B
Go
13 lines
423 B
Go
package e2e_test
|
|
|
|
import "fmt"
|
|
|
|
// TestUpgradeHandler can be used to run tests post-upgrade. If an upgrade is enabled, all tests
|
|
// are run against the upgraded chain. However, this file is a good place to consolidate all
|
|
// acceptance tests for a given set of upgrade handlers.
|
|
func (suite IntegrationTestSuite) TestUpgradeHandler() {
|
|
suite.SkipIfUpgradeDisabled()
|
|
fmt.Println("An upgrade has run!")
|
|
suite.True(true)
|
|
}
|