From 7edeac61879fba4682f2b0c5843b10f9527ee4ec Mon Sep 17 00:00:00 2001 From: Jakub Sliacan Date: Thu, 8 Jun 2023 11:52:34 +0200 Subject: [PATCH] integration: disable output string truncation in gomega --- test/integration/testsuite_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/testsuite_test.go b/test/integration/testsuite_test.go index 939016d32e..79654f01ca 100644 --- a/test/integration/testsuite_test.go +++ b/test/integration/testsuite_test.go @@ -9,6 +9,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" + gomegaformat "github.com/onsi/gomega/format" "github.com/sirupsen/logrus" ) @@ -30,6 +31,9 @@ func TestTest(t *testing.T) { RegisterFailHandler(Fail) + // disable error/output strings truncation + gomegaformat.MaxLength = 0 + // fetch the current (reporter) config suiteConfig, reporterConfig := GinkgoConfiguration()