Skip to content

Commit

Permalink
integration: disable output string truncation in gomega
Browse files Browse the repository at this point in the history
  • Loading branch information
jsliacan authored and praveenkumar committed Jul 6, 2023
1 parent b09f30a commit 7edeac6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/testsuite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
gomegaformat "github.com/onsi/gomega/format"
"github.com/sirupsen/logrus"
)

Expand All @@ -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()

Expand Down

0 comments on commit 7edeac6

Please sign in to comment.