Skip to content

Commit

Permalink
remove e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
kosegor committed Nov 7, 2023
1 parent de39df2 commit 225b434
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/e2e/e2e_metoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,22 +113,6 @@ func (s *E2ETest) TestMetokenSwapAndRedeem() {
s.checkMetokenBalance(testAddr.String(), mocks.MeUSDDenom)
},
)

// After adding an index to x/metoken registry the price is informed to x/oracle every endBlock (~12s)
s.Require().Eventually(
func() bool {
exchangeRates, err := s.QueryExchangeRate(s.UmeeREST(), mocks.MeUSDDenom)
if err != nil {
return false
}

if exchangeRates.AmountOf(mocks.MeUSDDenom).IsZero() {
return false
}
return true
},
2*time.Minute, 12*time.Second, "ensure me/USD has prices",
)
}

func (s *E2ETest) checkMetokenBalance(valAddr, denom string) {
Expand Down

0 comments on commit 225b434

Please sign in to comment.