rymurr commented on a change in pull request #7815:
URL: https://github.com/apache/arrow/pull/7815#discussion_r466964416
##########
File path:
java/plasma/src/test/java/org/apache/arrow/plasma/PlasmaClientTest.java
##########
@@ -277,6 +278,20 @@ public void doByteBufferTest() {
client.release(id);
}
+ public void doPlasmaOutOfMemoryExceptionTest() {
+ System.out.println("Start PlasmaOutOfMemoryException test.");
+ PlasmaClient client = (PlasmaClient) pLink;
+ byte[] objectId = new byte[20];
+ Arrays.fill(objectId, (byte) 1);
+ try {
+ ByteBuffer byteBuffer = client.create(objectId, 200000000, null);
+ client.seal(objectId);
+ } catch (PlasmaOutOfMemoryException e) {
+ System.out.println(String.format("Expected PlasmaOutOfMemoryException:
%s", e));
Review comment:
out of curiosity why isn't this entire class run as a unit or
integration test? This currently isn't being run as part of any CI right?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]