Skip to content

Commit

Permalink
test(x/gov): fix flaky TestActivateVotingPeriod test (cosmos#15153)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-rushakoff authored Feb 24, 2023
1 parent 8e01d3f commit ff3fed2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions x/gov/keeper/proposal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,12 @@ func (suite *KeeperTestSuite) TestDeleteProposal() {
}

func (suite *KeeperTestSuite) TestActivateVotingPeriod() {
testCases := map[string]struct {
testCases := []struct {
name string
expedited bool
}{
"regular proposal": {},
"expedited proposal": {
expedited: true,
},
{name: "regular proposal"},
{name: "expedited proposal", expedited: true},
}

for _, tc := range testCases {
Expand Down

0 comments on commit ff3fed2

Please sign in to comment.