Skip to content

Commit b32874c

Browse files
committed
Update InjectingPipeOutputStreamTest
1 parent 2a1f676 commit b32874c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class InjectingPipeOutputStreamTest extends DDSpecification {
3636
def 'should filter a buffer and inject if found #found'() {
3737
setup:
3838
def downstream = new ByteArrayOutputStream()
39-
def piped = new OutputStreamWriter(new InjectingPipeOutputStream(downstream, marker.getBytes("UTF-8"), contentToInject.getBytes("UTF-8"), null),
39+
def piped = new OutputStreamWriter(new InjectingPipeOutputStream(downstream, marker.getBytes("UTF-8"), contentToInject.getBytes("UTF-8"), null, null),
4040
"UTF-8")
4141
when:
4242
try (def closeme = piped) {
@@ -55,7 +55,7 @@ class InjectingPipeOutputStreamTest extends DDSpecification {
5555
setup:
5656
def baos = new ByteArrayOutputStream()
5757
def downstream = new GlitchedOutputStream(baos, glichesAt)
58-
def piped = new InjectingPipeOutputStream(downstream, marker.getBytes("UTF-8"), contentToInject.getBytes("UTF-8"), null)
58+
def piped = new InjectingPipeOutputStream(downstream, marker.getBytes("UTF-8"), contentToInject.getBytes("UTF-8"), null, null)
5959
when:
6060
try {
6161
for (String line : body) {

0 commit comments

Comments
 (0)