Skip to content

Commit

Permalink
Bump com.palantir.baseline:gradle-baseline-java from 5.18.0 to 5.19.0 (
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Aug 19, 2023
1 parent c2ed05a commit 423d772
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.palantir.baseline:gradle-baseline-java:5.18.0'
classpath 'com.palantir.baseline:gradle-baseline-java:5.19.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.13.0'
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.12.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:3.0.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void instrumentedCopy() throws IOException {
ByteArrayOutputStream output = new ByteArrayOutputStream(bytes.length);
InputStream instrumentedInputStream = InstrumentedStreams.input(input, registry, "in");
OutputStream instrumentedOutputStream = InstrumentedStreams.output(output, registry, "out")) {
assertThat(ByteStreams.copy(instrumentedInputStream, instrumentedOutputStream))
assertThat(instrumentedInputStream.transferTo(instrumentedOutputStream))
.isEqualTo(bytes.length);
assertThat(output.toByteArray()).isEqualTo(bytes);
assertThat(metrics.read("in").getCount()).isNotZero().isEqualTo(i * bytes.length);
Expand Down Expand Up @@ -82,7 +82,7 @@ void instrumentedGzip() throws IOException {
OutputStream gzipOut = new GZIPOutputStream(instrumentedRawOutputStream);
OutputStream instrumentedGzipOutputStream =
InstrumentedStreams.output(gzipOut, registry, "to-compress")) {
assertThat(ByteStreams.copy(instrumentedInputStream, instrumentedGzipOutputStream))
assertThat(instrumentedInputStream.transferTo(instrumentedGzipOutputStream))
.isEqualTo(totalSize);
assertThat(metrics.read("in").getCount()).isNotZero().isEqualTo(totalSize);
assertThat(metrics.write("to-compress").getCount())
Expand Down

0 comments on commit 423d772

Please sign in to comment.