Skip to content

Commit

Permalink
Refactor: remove debug outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
hmoog committed Apr 26, 2024
1 parent 32ec79b commit 470d285
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/tests/loss_of_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"github.com/stretchr/testify/require"

"github.com/iotaledger/hive.go/lo"
"github.com/iotaledger/hive.go/log"
"github.com/iotaledger/iota-core/pkg/core/account"
"github.com/iotaledger/iota-core/pkg/protocol"
"github.com/iotaledger/iota-core/pkg/protocol/engine/blocks"
Expand Down Expand Up @@ -134,9 +133,6 @@ func TestEngineSwitchingUponStartupWithLossOfAcceptance(t *testing.T) {

ts.Run(true, nil)

node0.Protocol.SetLogLevel(log.LevelDebug)
node1.Protocol.SetLogLevel(log.LevelDebug)

// Create snapshot to use later.
snapshotPath := ts.Directory.Path(fmt.Sprintf("%d_snapshot", time.Now().Unix()))
require.NoError(t, node0.Protocol.Engines.Main.Get().WriteSnapshot(snapshotPath))
Expand Down Expand Up @@ -210,7 +206,6 @@ func TestEngineSwitchingUponStartupWithLossOfAcceptance(t *testing.T) {
protocol.WithSnapshotPath(snapshotPath),
protocol.WithBaseDirectory(ts.Directory.PathWithCreate(node3.Name)),
)
node3.Protocol.SetLogLevel(log.LevelDebug)

ts.Wait()
}
Expand Down

0 comments on commit 470d285

Please sign in to comment.