Skip to content

Commit

Permalink
Revert partially
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessio Treglia committed Oct 30, 2018
1 parent 220bf2e commit 5b0c364
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/gaia/cli_test/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ func TestGaiaCLIGasAuto(t *testing.T) {

func TestGaiaCLICreateValidator(t *testing.T) {
chainID, servAddr, port := initializeFixtures(t)
flagsNoNode := fmt.Sprintf("--home=%s --chain-id=%v", gaiacliHome, chainID)
flags := fmt.Sprintf("%s --node=%v", flagsNoNode, servAddr)
flags := fmt.Sprintf("--home=%s --chain-id=%v --node=%s", gaiacliHome, chainID, servAddr)

// start gaiad server
proc := tests.GoExecuteTWithStdout(t, fmt.Sprintf("gaiad start --home=%s --rpc.laddr=%v", gaiadHome, servAddr))
Expand Down Expand Up @@ -290,7 +289,7 @@ func TestGaiaCLICreateValidator(t *testing.T) {

validatorUbds := executeGetValidatorUnbondingDelegations(t,
fmt.Sprintf("gaiacli query unbonding-delegations-from %s --output=json %v",
sdk.ValAddress(barAddr), flagsNoNode))
sdk.ValAddress(barAddr), flags))
require.Len(t, validatorUbds, 1)
require.Equal(t, "1", validatorUbds[0].Balance.Amount.String())

Expand Down

0 comments on commit 5b0c364

Please sign in to comment.