From b6113e2b9ea8f397e345a09335c26f953994c6f4 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Fri, 8 May 2020 08:33:44 -0700 Subject: WIP V2 attach bindings and test * Add ErrLostSync to report lost of sync when de-mux'ing stream * Add logus.SetLevel(logrus.DebugLevel) when `go test -v` given * Add context to debugging messages Signed-off-by: Jhon Honce --- pkg/bindings/test/test_suite_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/bindings/test/test_suite_test.go') diff --git a/pkg/bindings/test/test_suite_test.go b/pkg/bindings/test/test_suite_test.go index dc2b49b88..d2c2c7838 100644 --- a/pkg/bindings/test/test_suite_test.go +++ b/pkg/bindings/test/test_suite_test.go @@ -5,9 +5,14 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" + "github.com/sirupsen/logrus" ) func TestTest(t *testing.T) { + if testing.Verbose() { + logrus.SetLevel(logrus.DebugLevel) + } + RegisterFailHandler(Fail) RunSpecs(t, "Test Suite") } -- cgit v1.2.3-54-g00ecf