Handle failing e2e tests
Some checks failed
Build / build (pull_request) Successful in 2m43s
Protobuf / lint (pull_request) Successful in 13s
Integration Tests / test-integration (pull_request) Successful in 2m7s
E2E Tests / test-e2e (pull_request) Successful in 3m41s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 7m51s
Unit Tests / test-unit (pull_request) Successful in 1m53s
SDK Tests / sdk_tests_auctions (pull_request) Failing after 12m54s
SDK Tests / sdk_tests (pull_request) Failing after 10m13s
Some checks failed
Build / build (pull_request) Successful in 2m43s
Protobuf / lint (pull_request) Successful in 13s
Integration Tests / test-integration (pull_request) Successful in 2m7s
E2E Tests / test-e2e (pull_request) Successful in 3m41s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 7m51s
Unit Tests / test-unit (pull_request) Successful in 1m53s
SDK Tests / sdk_tests_auctions (pull_request) Failing after 12m54s
SDK Tests / sdk_tests (pull_request) Failing after 10m13s
This commit is contained in:
parent
7901e5f0f0
commit
273da5f2a9
@ -103,10 +103,13 @@ func (ets *E2ETestSuite) createAuctionAndBid(createAuction, createBid bool) stri
|
||||
|
||||
if createAuction {
|
||||
auctionArgs := []string{
|
||||
types.AuctionKindVickrey,
|
||||
sampleCommitTime, sampleRevealTime,
|
||||
fmt.Sprintf("10%s", ets.cfg.BondDenom),
|
||||
fmt.Sprintf("10%s", ets.cfg.BondDenom),
|
||||
fmt.Sprintf("100%s", ets.cfg.BondDenom),
|
||||
fmt.Sprintf("0%s", ets.cfg.BondDenom),
|
||||
"0",
|
||||
}
|
||||
|
||||
resp, err := ets.executeTx(cli.GetCmdCreateAuction(), auctionArgs, ownerAccount)
|
||||
|
@ -46,10 +46,13 @@ func (ets *E2ETestSuite) TestTxCommitBid() {
|
||||
ets.Run(fmt.Sprintf("Case %s", test.msg), func() {
|
||||
if test.createAuction {
|
||||
auctionArgs := []string{
|
||||
auctiontypes.AuctionKindVickrey,
|
||||
sampleCommitTime, sampleRevealTime,
|
||||
fmt.Sprintf("10%s", ets.cfg.BondDenom),
|
||||
fmt.Sprintf("10%s", ets.cfg.BondDenom),
|
||||
fmt.Sprintf("100%s", ets.cfg.BondDenom),
|
||||
fmt.Sprintf("0%s", ets.cfg.BondDenom),
|
||||
"0",
|
||||
}
|
||||
|
||||
resp, err := ets.executeTx(cli.GetCmdCreateAuction(), auctionArgs, ownerAccount)
|
||||
|
@ -174,11 +174,10 @@ func GetCmdCreateAuction() *cobra.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
numProvidersInt, err := strconv.Atoi(args[7])
|
||||
numProviders, err := strconv.ParseInt(args[7], 10, 32)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
numProviders := int32(numProvidersInt)
|
||||
|
||||
msg := auctiontypes.NewMsgCreateAuction(
|
||||
kind,
|
||||
@ -188,7 +187,7 @@ func GetCmdCreateAuction() *cobra.Command {
|
||||
revealFee,
|
||||
minimumBid,
|
||||
maxPrice,
|
||||
numProviders,
|
||||
int32(numProviders),
|
||||
clientCtx.GetFromAddress(),
|
||||
)
|
||||
err = msg.ValidateBasic()
|
||||
|
Loading…
Reference in New Issue
Block a user