Skip to content

Commit

Permalink
builds again and rm debug tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed Aug 22, 2023
1 parent 87ad0f4 commit 7e6264f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
16 changes: 0 additions & 16 deletions testutil/integration/debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,6 @@ func TestDoubleSignDoesNotAffectThrottling(t *testing.T) {
runCCVTestByName(t, "TestDoubleSignDoesNotAffectThrottling")
}

func TestQueueOrdering(t *testing.T) {
runCCVTestByName(t, "TestQueueOrdering")
}

func TestSlashingSmallValidators(t *testing.T) {
runCCVTestByName(t, "TestSlashingSmallValidators")
}
Expand All @@ -189,22 +185,10 @@ func TestSlashMeterAllowanceChanges(t *testing.T) {
runCCVTestByName(t, "TestSlashMeterAllowanceChanges")
}

func TestSlashSameValidator(t *testing.T) {
runCCVTestByName(t, "TestSlashSameValidator")
}

func TestSlashAllValidators(t *testing.T) {
runCCVTestByName(t, "TestSlashAllValidators")
}

func TestLeadingVSCMaturedAreDequeued(t *testing.T) {
runCCVTestByName(t, "TestLeadingVSCMaturedAreDequeued")
}

func TestVscMaturedHandledPerBlockLimit(t *testing.T) {
runCCVTestByName(t, "TestVscMaturedHandledPerBlockLimit")
}

//
// Unbonding tests
//
Expand Down
9 changes: 0 additions & 9 deletions testutil/keeper/unit_test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,6 @@ func TestProviderStateIsCleanedAfterConsumerChainIsStopped(t *testing.T, ctx sdk
require.Empty(t, providerKeeper.GetAllValidatorsByConsumerAddr(ctx, &expectedChainID))
require.Empty(t, providerKeeper.GetAllKeyAssignmentReplacements(ctx, expectedChainID))
require.Empty(t, providerKeeper.GetAllConsumerAddrsToPrune(ctx, expectedChainID))

allGlobalEntries := providerKeeper.GetAllGlobalSlashEntries(ctx)
for _, entry := range allGlobalEntries {
require.NotEqual(t, expectedChainID, entry.ConsumerChainID)
}

slashPacketData, vscMaturedPacketData, _, _ := providerKeeper.GetAllThrottledPacketData(ctx, expectedChainID)
require.Empty(t, slashPacketData)
require.Empty(t, vscMaturedPacketData)
}

func GetTestConsumerAdditionProp() *providertypes.ConsumerAdditionProposal {
Expand Down

0 comments on commit 7e6264f

Please sign in to comment.