You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by zh...@apache.org on 2022/08/30 07:36:15 UTC

[apisix-ingress-controller] branch master updated: e2e: delete duplicate log data on failure (#1297)

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

zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b86d2a1 e2e: delete duplicate log data on failure (#1297)
6b86d2a1 is described below

commit 6b86d2a15f9d1e245ec06d2c8fb1d4c65b7c96b2
Author: Xin Rong <ro...@api7.ai>
AuthorDate: Tue Aug 30 15:36:09 2022 +0800

    e2e: delete duplicate log data on failure (#1297)
---
 test/e2e/scaffold/scaffold.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/e2e/scaffold/scaffold.go b/test/e2e/scaffold/scaffold.go
index 11328d6c..4d1d3b24 100644
--- a/test/e2e/scaffold/scaffold.go
+++ b/test/e2e/scaffold/scaffold.go
@@ -37,6 +37,7 @@ import (
 	mqtt "github.com/eclipse/paho.mqtt.golang"
 	"github.com/gavv/httpexpect/v2"
 	"github.com/gruntwork-io/terratest/modules/k8s"
+	"github.com/gruntwork-io/terratest/modules/logger"
 	"github.com/gruntwork-io/terratest/modules/testing"
 	ginkgo "github.com/onsi/ginkgo/v2"
 	"github.com/stretchr/testify/assert"
@@ -153,6 +154,8 @@ func NewScaffold(o *Options) *Scaffold {
 		opts: o,
 		t:    ginkgo.GinkgoT(),
 	}
+	// Disable logging of terratest library.
+	logger.Default = logger.Discard
 
 	ginkgo.BeforeEach(s.beforeEach)
 	ginkgo.AfterEach(s.afterEach)