Skip to content

Commit af5649d

Browse files
committed
fix: suppress session debug logs
1 parent adc1376 commit af5649d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

coherence/coherence_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ const (
3737
func newTestConfig(t testing.TB) Config {
3838
t.Helper()
3939

40+
// The coherence client adds debug messages to stdout, which corrupt
41+
// the output of the benchmarks. See "[Coherence Client Debug]" for
42+
// more information.
43+
//
44+
// [Coherence Client Debug]: https://github.com/oracle/coherence-go-client/blob/6383df14821ecf7c1ecd5f33a2c2fd402102d797/coherence/session.go#L195
45+
t.Setenv("COHERENCE_SESSION_DEBUG", "false")
46+
4047
img := coherenceImage
4148
if imgFromEnv := os.Getenv(coherenceImageEnvVar); imgFromEnv != "" {
4249
img = imgFromEnv

0 commit comments

Comments
 (0)