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

gortiz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 83e20eea73 Codecov tests (#15560)
83e20eea73 is described below

commit 83e20eea73bedacc0b3b698e8da97bd0d6d5fb68
Author: Gonzalo Ortiz Jaureguizar <gor...@users.noreply.github.com>
AuthorDate: Wed Apr 30 13:53:17 2025 +0200

    Codecov tests (#15560)
    
    Removes the skip bytebuffer tests we introduced more than a year ago to 
increase our confidence in our alternative to LArray buffers. We have been 
using our alternative in all JVMs for a while and recently we completely 
removed LArray buffer dependency, so it doesn't seem we need to test in this 
mode anymore.
    
    Uploads test results to codecov. This is a new feature in codecov described 
in https://docs.codecov.com/docs/test-analytics.
---
 .github/workflows/pinot_tests.yml | 76 ++++++++++++++++++++-------------------
 1 file changed, 39 insertions(+), 37 deletions(-)

diff --git a/.github/workflows/pinot_tests.yml 
b/.github/workflows/pinot_tests.yml
index 912f6e86b4..3740a3fce7 100644
--- a/.github/workflows/pinot_tests.yml
+++ b/.github/workflows/pinot_tests.yml
@@ -80,17 +80,7 @@ jobs:
         testset: [ 1, 2 ]
         java: [ 11, 21 ]
         distribution: [ "temurin" ]
-        skip_bytebuffer: [false]
-        include:
-          - java: 21
-            testset: 1
-            distribution: "temurin"
-            skip_bytebuffer: true
-          - java: 21
-            testset: 2
-            distribution: "temurin"
-            skip_bytebuffer: true
-    name: Pinot Unit Test Set ${{ matrix.testset }} 
(${{matrix.distribution}}-${{matrix.java}}) with skip 
bytebuffers:${{matrix.skip_bytebuffer}}
+    name: Pinot Unit Test Set ${{ matrix.testset }} 
(${{matrix.distribution}}-${{matrix.java}})
     steps:
       - uses: actions/checkout@v4
       - name: Set up JDK ${{ matrix.java }}-${{ matrix.distribution }}
@@ -133,7 +123,6 @@ jobs:
         env:
           RUN_INTEGRATION_TESTS: false
           RUN_TEST_SET: ${{ matrix.testset }}
-          PINOT_OFFHEAP_SKIP_BYTEBUFFER: ${{ matrix.skip_bytebuffer }}
           DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
           MAVEN_OPTS: >
             -Xmx2G -DskipShade -DfailIfNoTests=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=25
@@ -156,9 +145,19 @@ jobs:
         continue-on-error: true
         timeout-minutes: 5
         with:
-          flags: unittests,unittests${{ matrix.testset 
}},${{matrix.distribution}},java-${{matrix.java}},skip-bytebuffers-${{matrix.skip_bytebuffer}}
+          flags: unittests,unittests${{ matrix.testset 
}},${{matrix.distribution}},java-${{matrix.java}}
           name: codecov-unit-tests
-          token: 3cb787e5-09a8-4b23-8856-06410b11455f
+          token: ${{ secrets.CODECOV_TOKEN }}
+          fail_ci_if_error: false
+          verbose: true
+      - name: Upload test results to Codecov
+        if: ${{ !cancelled() }}
+        uses: codecov/test-results-action@v1
+        timeout-minutes: 5
+        with:
+          flags: unittests,unittests${{ matrix.testset 
}},${{matrix.distribution}},java-${{matrix.java}}
+          name: codecov-unit-tests
+          token: ${{ secrets.CODECOV_TOKEN }}
           fail_ci_if_error: false
           verbose: true
 
@@ -172,17 +171,7 @@ jobs:
         testset: [ 1, 2 ]
         java: [ 11, 21 ]
         distribution: [ "temurin" ]
-        skip_bytebuffer: [false]
-        include:
-          - java: 21
-            testset: 1
-            distribution: "temurin"
-            skip_bytebuffer: true
-          - java: 21
-            testset: 2
-            distribution: "temurin"
-            skip_bytebuffer: true
-    name: Pinot Integration Test Set ${{ matrix.testset }} 
(${{matrix.distribution}}-${{matrix.java}}) with skip 
bytebuffers:${{matrix.skip_bytebuffer}}
+    name: Pinot Integration Test Set ${{ matrix.testset }} 
(${{matrix.distribution}}-${{matrix.java}})
     steps:
       - uses: actions/checkout@v4
       - name: Set up JDK ${{ matrix.java }}-${{ matrix.distribution }}
@@ -219,7 +208,6 @@ jobs:
         env:
           RUN_INTEGRATION_TESTS: true
           RUN_TEST_SET: ${{ matrix.testset }}
-          PINOT_OFFHEAP_SKIP_BYTEBUFFER: ${{ matrix.skip_bytebuffer }}
           DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
           MAVEN_OPTS: >
             -Xmx2G -DskipShade -DfailIfNoTests=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=25
@@ -237,9 +225,20 @@ jobs:
         continue-on-error: true
         timeout-minutes: 5
         with:
-          flags: integration,integration${{ matrix.testset 
}},${{matrix.distribution}},java-${{matrix.java}},skip-bytebuffers-${{matrix.skip_bytebuffer}}
+          flags: integration,integration${{ matrix.testset 
}},${{matrix.distribution}},java-${{matrix.java}}
+          name: codecov-integration-tests
+          token: ${{ secrets.CODECOV_TOKEN }}
+          fail_ci_if_error: false
+          verbose: true
+      - name: Upload test results to Codecov
+        if: ${{ !cancelled() }}
+        uses: codecov/test-results-action@v1
+        continue-on-error: true
+        timeout-minutes: 5
+        with:
+          flags: integration,integration${{ matrix.testset 
}},${{matrix.distribution}},java-${{matrix.java}}
           name: codecov-integration-tests
-          token: 3cb787e5-09a8-4b23-8856-06410b11455f
+          token: ${{ secrets.CODECOV_TOKEN }}
           fail_ci_if_error: false
           verbose: true
       - name: Custom Integration Test
@@ -267,7 +266,17 @@ jobs:
         with:
           flags: integration,custom-integration${{ matrix.testset 
}},${{matrix.distribution}},java-${{matrix.java}}
           name: codecov-custom-integration-tests
-          token: 3cb787e5-09a8-4b23-8856-06410b11455f
+          token: ${{ secrets.CODECOV_TOKEN }}
+          fail_ci_if_error: false
+          verbose: true
+      - name: Upload test results to Codecov
+        if: ${{ !cancelled() }}
+        uses: codecov/test-results-action@v1
+        timeout-minutes: 5
+        with:
+          flags: integration,custom-integration${{ matrix.testset 
}},${{matrix.distribution}},java-${{matrix.java}}
+          name: codecov-custom-integration-tests
+          token: ${{ secrets.CODECOV_TOKEN }}
           fail_ci_if_error: false
           verbose: true
 
@@ -392,12 +401,7 @@ jobs:
       matrix:
         java: [ 11, 21 ]
         distribution: [ "temurin" ]
-        skip_bytebuffer: [false]
-        include:
-          - java: 21
-            distribution: "temurin"
-            skip_bytebuffer: true
-    name: Pinot Quickstart on JDK ${{ matrix.java }}-${{ matrix.distribution 
}} with skip bytebuffers:${{matrix.skip_bytebuffer}}
+    name: Pinot Quickstart on JDK ${{ matrix.java }}-${{ matrix.distribution }}
     steps:
       - uses: actions/checkout@v4
       - name: Set up JDK ${{ matrix.java }}
@@ -417,6 +421,4 @@ jobs:
           restore-keys: |
             ${{ runner.os }}-maven-
       - name: Quickstart on JDK ${{ matrix.java }}
-        env:
-          PINOT_OFFHEAP_SKIP_BYTEBUFFER: ${{ matrix.skip_bytebuffer }}
         run: .github/workflows/scripts/.pinot_quickstart.sh


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to