Skip to content
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: e2e test reliability #2276

Merged
merged 60 commits into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
10d1b58
delete eth dockerfiles
toteki Oct 8, 2023
3a015ad
move gaia funcs to gaia.go
toteki Oct 9, 2023
a9c2e13
move metoken util out of setup folder; move oracle tests to oracle file
toteki Oct 9, 2023
8089346
function comments
toteki Oct 9, 2023
010081e
todo comments
toteki Oct 9, 2023
b1ecb91
comments
toteki Oct 9, 2023
0f387d4
comments and combine some functions
toteki Oct 9, 2023
fb68b83
price-feeder.go
toteki Oct 9, 2023
ad36a20
import order
toteki Oct 9, 2023
4acd3d0
ibc.go
toteki Oct 9, 2023
ce2565b
add test account
toteki Oct 9, 2023
524a024
revert and try creating accounts later
toteki Oct 9, 2023
ac88978
refactor coins without string
toteki Oct 9, 2023
0efd173
try with commented out
toteki Oct 9, 2023
bdc0d24
init balance as coins, not string
toteki Oct 9, 2023
1825421
Merge branch 'adam/e2e2' into adam/e2speed2
toteki Oct 9, 2023
1c36c38
fix merge
toteki Oct 9, 2023
8f66c2d
move vars around
toteki Oct 9, 2023
3859ff5
comment
toteki Oct 9, 2023
d4ce9f2
Merge branch 'adam/e2e2' into adam/e2speed2
toteki Oct 9, 2023
dfaa82e
fix merge
toteki Oct 9, 2023
5369dac
Merge branch 'main' into adam/e2speed2
toteki Oct 10, 2023
200a8f9
lower wait time
toteki Oct 10, 2023
ab14fb6
dedicated client for test accounts
toteki Oct 10, 2023
33649c3
add client to each validator
toteki Oct 10, 2023
19f9ce3
client name
toteki Oct 10, 2023
7cbb799
overhaul tests to use single-mnemonic clients
toteki Oct 10, 2023
11f4087
fix
toteki Oct 10, 2023
0160c7d
fix
toteki Oct 10, 2023
9c0debc
logs
toteki Oct 10, 2023
858874a
prevent division by zero
toteki Oct 10, 2023
e14274c
prevent division by zero
toteki Oct 10, 2023
83ae6f8
rename fix
toteki Oct 10, 2023
3ac8acc
account sequence: use expcted value on retry
toteki Oct 10, 2023
0cfd9b2
fix delegation
toteki Oct 10, 2023
6993c27
switch account on meToken test
toteki Oct 11, 2023
becda69
Merge branch 'main' into adam/e2speed2
toteki Oct 11, 2023
6e3dcf1
log every ibc tx
toteki Oct 11, 2023
986772f
modify logs
toteki Oct 11, 2023
da936cd
logs++
toteki Oct 11, 2023
c86f476
revert one addr change in ibc
toteki Oct 11, 2023
0c8f42a
++
toteki Oct 11, 2023
682238b
++
toteki Oct 11, 2023
e6676e9
why was this working before? x2 fixed
toteki Oct 12, 2023
9e870b5
diagnose
toteki Oct 12, 2023
2f0b540
is that the last of them?
toteki Oct 12, 2023
2d28d04
empty commit
toteki Oct 12, 2023
2906101
Merge branch 'main' into adam/e2speed2
toteki Oct 12, 2023
0787cae
oracle tests
toteki Oct 12, 2023
84f273c
Revert "build(deps): Bump github.com/spf13/viper from 1.16.0 to 1.17.…
toteki Oct 12, 2023
5b2f375
Merge branch 'adam/revert' into adam/e2speed2
toteki Oct 12, 2023
0ee88ac
tidy
toteki Oct 12, 2023
e4bb52c
Merge branch 'adam/revert' into adam/e2speed2
toteki Oct 12, 2023
50c0666
exceed quota more reliably
toteki Oct 12, 2023
fe8a3ad
exceed quota more reliably
toteki Oct 12, 2023
3f3d6b7
rewrite ibc test to use reliable amounts (not > or < quota based on r…
toteki Oct 12, 2023
321ddd5
fix
toteki Oct 12, 2023
d2e6033
add log
toteki Oct 12, 2023
ada33de
++
toteki Oct 12, 2023
56d8982
skip ibc e2e
toteki Oct 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ test-e2e-cov: $(TEST_E2E_DEPS)

test-e2e-clean:
docker stop umee0 umee1 umee2 umee-gaia-relayer gaiaval0 umee-price-feeder || true
docker rm umee0 umee1 umee2 umee-gaia-relayer gaiaval0 umee-price-feeder
docker rm umee0 umee1 umee2 umee-gaia-relayer gaiaval0 umee-price-feeder || true
docker network prune -f

test-qa:
@go test ./tests/qa/... -timeout 30m -v -tags='test_qa'
Expand Down
4 changes: 4 additions & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ func NewClient(
}, nil
}

func (c Client) WithAccSeq(seq uint64) {
c.Client.Tx = c.Client.Tx.WithAccSeq(seq)
}

func (c Client) NewQCtx() (context.Context, context.CancelFunc) {
return c.Query.NewCtx()
}
Expand Down
42 changes: 20 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ require (
github.com/rs/zerolog v1.31.0
github.com/spf13/cast v1.5.1
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.17.0
github.com/spf13/viper v1.16.0
github.com/stretchr/testify v1.8.4
github.com/tendermint/tendermint v0.34.29
github.com/tendermint/tm-db v0.6.7
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb
golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98
google.golang.org/grpc v1.58.2
google.golang.org/protobuf v1.31.0
gopkg.in/yaml.v3 v3.0.1
Expand All @@ -41,8 +41,8 @@ require (
require (
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
4d63.com/gochecknoglobals v0.2.1 // indirect
cloud.google.com/go v0.110.7 // indirect
cloud.google.com/go/compute v1.23.0 // indirect
cloud.google.com/go v0.110.4 // indirect
cloud.google.com/go/compute v1.21.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.1 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
Expand Down Expand Up @@ -102,7 +102,7 @@ require (
github.com/curioswitch/go-reassign v0.2.0 // indirect
github.com/daixiang0/gci v0.11.0 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
github.com/denis-tingaikin/go-header v0.4.3 // indirect
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
Expand Down Expand Up @@ -157,11 +157,11 @@ require (
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/orderedcode v0.0.1 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.1 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
github.com/googleapis/gax-go/v2 v2.11.0 // indirect
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601 // indirect
github.com/gorilla/handlers v1.5.1 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
Expand Down Expand Up @@ -196,7 +196,7 @@ require (
github.com/kisielk/errcheck v1.6.3 // indirect
github.com/kisielk/gotool v1.0.0 // indirect
github.com/kkHAIKE/contextcheck v1.1.4 // indirect
github.com/klauspost/compress v1.17.0 // indirect
github.com/klauspost/compress v1.16.0 // indirect
github.com/kulti/thelper v0.6.3 // indirect
github.com/kunwardeep/paralleltest v1.0.8 // indirect
github.com/kyoh86/exportloopref v0.1.11 // indirect
Expand Down Expand Up @@ -234,10 +234,10 @@ require (
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect
github.com/opencontainers/runc v1.1.5 // indirect
github.com/otiai10/copy v1.9.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/polyfloyd/go-errorlint v1.4.4 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.42.0 // indirect
Expand All @@ -252,8 +252,6 @@ require (
github.com/rs/cors v1.8.2 // indirect
github.com/ryancurrah/gomodguard v1.3.0 // indirect
github.com/ryanrolds/sqlclosecheck v0.4.0 // indirect
github.com/sagikazarmark/locafero v0.3.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect
github.com/sasha-s/go-deadlock v0.3.1 // indirect
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
Expand All @@ -265,14 +263,14 @@ require (
github.com/sivchari/nosnakecase v1.7.0 // indirect
github.com/sivchari/tenv v1.7.1 // indirect
github.com/sonatard/noctx v0.0.2 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/sourcegraph/go-diff v0.7.0 // indirect
github.com/spf13/afero v1.10.0 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c // indirect
github.com/tdakkota/asciicheck v0.2.0 // indirect
Expand Down Expand Up @@ -303,7 +301,7 @@ require (
go.tmz.dev/musttag v0.7.2 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/goleak v1.1.12 // indirect
go.uber.org/multierr v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833 // indirect
Expand All @@ -316,10 +314,10 @@ require (
golang.org/x/text v0.13.0 // indirect
golang.org/x/tools v0.13.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.143.0 // indirect
google.golang.org/api v0.126.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
honnef.co/go/tools v0.4.5 // indirect
Expand Down
Loading
Loading