From 9a00a9b2601640219f552285a5c069ec389d811b Mon Sep 17 00:00:00 2001 From: Shawn Marshall-Spitzbart <44221603+smarshall-spitzbart@users.noreply.github.com> Date: Mon, 12 Dec 2022 11:29:58 -0800 Subject: [PATCH] remove integration test diff --- tests/integration/config.go | 2 +- tests/integration/main.go | 8 -------- tests/integration/steps.go | 8 -------- tests/integration/steps_double_sign.go | 3 +-- tests/integration/steps_downtime.go | 4 +++- 5 files changed, 5 insertions(+), 20 deletions(-) diff --git a/tests/integration/config.go b/tests/integration/config.go index 72e10e91e1..75f3a5df69 100644 --- a/tests/integration/config.go +++ b/tests/integration/config.go @@ -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\"", diff --git a/tests/integration/main.go b/tests/integration/main.go index 7f7d33f5fd..baaa510cd1 100644 --- a/tests/integration/main.go +++ b/tests/integration/main.go @@ -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) diff --git a/tests/integration/steps.go b/tests/integration/steps.go index e8706117ea..b3fd3c5deb 100644 --- a/tests/integration/steps.go +++ b/tests/integration/steps.go @@ -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"), diff --git a/tests/integration/steps_double_sign.go b/tests/integration/steps_double_sign.go index 7b910a4d88..7ccded0eaf 100644 --- a/tests/integration/steps_double_sign.go +++ b/tests/integration/steps_double_sign.go @@ -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 diff --git a/tests/integration/steps_downtime.go b/tests/integration/steps_downtime.go index 5dfcaeaa8b..3f2a80b4dd 100644 --- a/tests/integration/steps_downtime.go +++ b/tests/integration/steps_downtime.go @@ -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{ {