Skip to content

Commit

Permalink
remove integration test diff
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed Dec 12, 2022
1 parent 28867c9 commit 9a00a9b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 20 deletions.
2 changes: 1 addition & 1 deletion tests/integration/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func DefaultTestRun() TestRun {
ipPrefix: "7.7.8",
votingWaitTime: 20,
genesisChanges: ".app_state.gov.voting_params.voting_period = \"20s\" | " +
".app_state.slashing.params.signed_blocks_window = \"2\" | " +
".app_state.slashing.params.signed_blocks_window = \"20\" | " +
".app_state.slashing.params.min_signed_per_window = \"0.500000000000000000\" | " +
".app_state.slashing.params.downtime_jail_duration = \"2s\" | " +
".app_state.slashing.params.slash_fraction_downtime = \"0.010000000000000000\"",
Expand Down
8 changes: 0 additions & 8 deletions tests/integration/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ func main() {
go mul.ExecuteSteps(&wg, multipleConsumers)
}

keys := KeyAssignmentTestRun()
keys.SetLocalSDKPath(*localSdkPath)
keys.ValidateStringLiterals()
keys.startDocker()

wg.Add(1)
go keys.ExecuteSteps(&wg, keyAssignmentSteps)

wg.Add(1)
go tr.ExecuteSteps(&wg, happyPathSteps)

Expand Down
8 changes: 0 additions & 8 deletions tests/integration/steps.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ func concatSteps(steps ...[]Step) []Step {
return concat
}

var keyAssignmentSteps = concatSteps(
stepsStartChains([]string{"consu"}, false),
stepsDelegate("consu"),
stepsAssignConsumerKeyOnStartedChain("consu", "bob"),
stepsUnbond("consu"),
stepsRedelegate("consu"),
)

var happyPathSteps = concatSteps(
stepsStartChains([]string{"consu"}, false),
stepsDelegate("consu"),
Expand Down
3 changes: 1 addition & 2 deletions tests/integration/steps_double_sign.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package main

// simulates double signing on provider and vsc propagation to consumer chains
// steps continue from downtime tests state.
//
// Note: These steps ARE affected by slash packet throttling, since the
// Note: These steps would be affected by slash packet throttling, since the
// consumer-initiated slash steps are executed after consumer-initiated downtime
// slashes have already occurred. However slash packet throttling is
// psuedo-disabled in this test by setting the slash meter replenish
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/steps_downtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ package main
// stepsDowntime tests validator jailing and slashing.
//
// Note: These steps are not affected by slash packet throttling since
// only one consumer initiated slash is implemented.
// only one consumer initiated slash is implemented. Throttling is also
// psuedo-disabled in this test by setting the slash meter replenish
// fraction to 1.0 in the config file.
func stepsDowntime(consumerName string) []Step {
return []Step{
{
Expand Down

0 comments on commit 9a00a9b

Please sign in to comment.