Skip to content

Commit 5a32d51

Browse files
committed
fix tests
1 parent 62acf7c commit 5a32d51

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

dd-java-agent/agent-bootstrap/src/test/groovy/datadog/trace/bootstrap/instrumentation/buffer/InjectingPipeOutputStreamTest.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ class InjectingPipeOutputStreamTest extends DDSpecification {
66
static class GlitchedOutputStream extends FilterOutputStream {
77
int glitchesPos
88
int count
9+
final OutputStream out
910

1011
GlitchedOutputStream(OutputStream out, int glitchesPos) {
1112
super(out)
13+
this.out = out
1214
this.glitchesPos = glitchesPos
1315
}
1416

dd-java-agent/agent-bootstrap/src/test/groovy/datadog/trace/bootstrap/instrumentation/buffer/InjectingPipeWriterTest.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ class InjectingPipeWriterTest extends DDSpecification {
66
static class GlitchedWriter extends FilterWriter {
77
int glitchesPos
88
int count
9+
final Writer out
910

1011
GlitchedWriter(Writer out, int glitchesPos) {
1112
super(out)
13+
this.out = out
1214
this.glitchesPos = glitchesPos
1315
}
1416

0 commit comments

Comments
 (0)