You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2023/07/21 22:09:38 UTC

[datasketches-java] branch cpp_serde_compat_testing updated: exclude generation of binary sketches by default

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

alsay pushed a commit to branch cpp_serde_compat_testing
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git


The following commit(s) were added to refs/heads/cpp_serde_compat_testing by this push:
     new 25985fd2 exclude generation of binary sketches by default
25985fd2 is described below

commit 25985fd2185bdf1b6535dab3c3f75fcdaba08b96
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Fri Jul 21 15:09:28 2023 -0700

    exclude generation of binary sketches by default
---
 pom.xml                                                                | 3 +++
 .../java/org/apache/datasketches/kll/KllDoublesSketchSerDeTest.java    | 2 +-
 .../java/org/apache/datasketches/kll/KllFloatsSketchSerDeTest.java     | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 899de8b2..a0f6e9ef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,6 +129,8 @@ under the License.
     <!-- other -->
     <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
     <git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
+
+    <testng.excludedgroups>generate</testng.excludedgroups>
   </properties>
 
   <dependencies>
@@ -308,6 +310,7 @@ under the License.
             <useManifestOnlyJar>false</useManifestOnlyJar>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
             <reportsDirectory>${project.build.directory}/test-output/${maven.build.timestamp}</reportsDirectory>
+            <excludedGroups>${testng.excludedgroups}</excludedGroups>
           </configuration>
         </plugin>
 
diff --git a/src/test/java/org/apache/datasketches/kll/KllDoublesSketchSerDeTest.java b/src/test/java/org/apache/datasketches/kll/KllDoublesSketchSerDeTest.java
index fcc73d90..b6a3ba02 100644
--- a/src/test/java/org/apache/datasketches/kll/KllDoublesSketchSerDeTest.java
+++ b/src/test/java/org/apache/datasketches/kll/KllDoublesSketchSerDeTest.java
@@ -95,7 +95,7 @@ public class KllDoublesSketchSerDeTest {
     }
   }
 
-  @Test
+  @Test(groups = {"generate"})
   public void generateBinariesForCompatibilityTesting() throws Exception {
     int[] nArr = {0, 1, 10, 100, 1000, 10000, 100000, 1000000};
     for (int n: nArr) {
diff --git a/src/test/java/org/apache/datasketches/kll/KllFloatsSketchSerDeTest.java b/src/test/java/org/apache/datasketches/kll/KllFloatsSketchSerDeTest.java
index f37fd5ce..16138371 100644
--- a/src/test/java/org/apache/datasketches/kll/KllFloatsSketchSerDeTest.java
+++ b/src/test/java/org/apache/datasketches/kll/KllFloatsSketchSerDeTest.java
@@ -105,7 +105,7 @@ public class KllFloatsSketchSerDeTest {
     }
   }
 
-  @Test
+  @Test(groups = {"generate"})
   public void generateBinariesForCompatibilityTesting() throws Exception {
     int[] nArr = {0, 1, 10, 100, 1000, 10000, 100000, 1000000};
     for (int n: nArr) {


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