You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2021/08/16 16:48:56 UTC

[datasketches-memory] branch MinorFixes created (now c29f054)

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a change to branch MinorFixes
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git.


      at c29f054  Adjust test print output

This branch includes the following new commits:

     new c29f054  Adjust test print output

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-memory] 01/01: Adjust test print output

Posted by le...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch MinorFixes
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git

commit c29f054cfc76d188ba33938d5638a4b3627eef9e
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Mon Aug 16 09:47:57 2021 -0700

    Adjust test print output
---
 .../src/test/java/org/apache/datasketches/memory/test/MemoryTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datasketches-memory-java8-tests/src/test/java/org/apache/datasketches/memory/test/MemoryTest.java b/datasketches-memory-java8-tests/src/test/java/org/apache/datasketches/memory/test/MemoryTest.java
index 937fda5..b63e524 100644
--- a/datasketches-memory-java8-tests/src/test/java/org/apache/datasketches/memory/test/MemoryTest.java
+++ b/datasketches-memory-java8-tests/src/test/java/org/apache/datasketches/memory/test/MemoryTest.java
@@ -352,7 +352,7 @@ public class MemoryTest {
     int bytes = 1024;
     long curAllocations = BaseState.getCurrentDirectMemoryAllocations();
     long curAllocated   = BaseState.getCurrentDirectMemoryAllocated();
-    System.err.println(curAllocations + " should be zero!");
+    if (curAllocations != 0) { System.err.println(curAllocations + " should be zero!"); }
     WritableHandle wh1 = WritableMemory.allocateDirect(bytes);
     WritableHandle wh2 = WritableMemory.allocateDirect(bytes);
     assertEquals(BaseState.getCurrentDirectMemoryAllocations(), 2L + curAllocations);

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org