You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2021/03/12 15:59:33 UTC

[plc4x] branch develop updated: plc4go: Disable console logger as it wrecks the report.xml

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 7220685  plc4go: Disable console logger as it wrecks the report.xml
7220685 is described below

commit 72206850cef36eeb9a7af2d8f448b9caa3b06061
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Mar 12 16:57:53 2021 +0100

    plc4go: Disable console logger as it wrecks the report.xml
---
 plc4go/cmd/main/drivers/tests/ads_driver_test.go | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/plc4go/cmd/main/drivers/tests/ads_driver_test.go b/plc4go/cmd/main/drivers/tests/ads_driver_test.go
index 0db68a4..417d96b 100644
--- a/plc4go/cmd/main/drivers/tests/ads_driver_test.go
+++ b/plc4go/cmd/main/drivers/tests/ads_driver_test.go
@@ -21,17 +21,10 @@ package tests
 import (
 	"github.com/apache/plc4x/plc4go/internal/plc4go/ads"
 	"github.com/apache/plc4x/plc4go/internal/plc4go/spi/testutils"
-	"github.com/rs/zerolog"
-	"github.com/rs/zerolog/log"
-	"github.com/rs/zerolog/pkgerrors"
-	"os"
 	"testing"
 )
 
 func TestAdsDriver(t *testing.T) {
-	log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
-	zerolog.TimeFieldFormat = zerolog.TimeFormatUnix
-	zerolog.ErrorStackMarshaler = pkgerrors.MarshalStack
 	t.Skip("Still a work in progress")
 	testutils.RunDriverTestsuite(t, ads.NewAdsDriver(), "assets/testing/protocols/ads/DriverTestsuite.xml")
 }