Skip to content

Commit 156e3df

Browse files
committed
close input stream after each run
1 parent 5fd6621 commit 156e3df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

datastore-v1-proto-client/src/test/java/com/google/datastore/v1/client/ChecksumEnforcingInputStreamTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public void test(int payloadSize) throws Exception {
4242
}
4343
} catch (IOException e) {
4444
fail("checksum verification failed!");
45+
} finally {
46+
testInstance.close();
4547
}
4648
}
4749

0 commit comments

Comments
 (0)