Skip to content
Snippets Groups Projects
Commit df06fbbd authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

move testmain to manager_test.go

parent 45811782
Branches
Tags
5 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!371[Channel RSAtoPrivate] Implement Reverse Asymmetric in Client/Broadcast,!354Channels impl,!340Project/channels
package channels
import (
"os"
"testing"
jww "github.com/spf13/jwalterweatherman"
)
func TestMain(m *testing.M) {
// many tests trigger warn prints, set the out threshold so the warns
// can be seen in the logs
jww.SetStdoutThreshold(jww.LevelWarn)
os.Exit(m.Run())
}
......@@ -3,9 +3,7 @@ package channels
import (
"bytes"
"crypto/ed25519"
jww "github.com/spf13/jwalterweatherman"
"math/rand"
"os"
"testing"
"time"
......@@ -19,13 +17,6 @@ import (
"gitlab.com/xx_network/primitives/id"
)
func TestMain(m *testing.M) {
// many tests trigger warn prints, set the out threshold so the warns
// can be seen in the logs
jww.SetStdoutThreshold(jww.LevelWarn)
os.Exit(m.Run())
}
type triggerEventDummy struct {
gotData bool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment