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

dzamo pushed a commit to branch ci-mem-tweaks
in repository https://gitbox.apache.org/repos/asf/drill.git

commit 84886c5df0bf09739bf3e703495aa988c399c16d
Author: James Turton <ja...@somecomputer.xyz>
AuthorDate: Tue Oct 24 08:45:25 2023 +0200

    Remove /proc/sys/vm/drop_caches snake oil.
    
    See https://www.linuxatemyram.com/.
---
 .github/workflows/ci.yml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 335f3da8a2..212a8b6ab0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -60,14 +60,11 @@ jobs:
           "
       - name: Build and test
         run: |
-          MAVEN_OPTS="-XX:+UseG1GC"
-          sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches' && \
           mvn -P${{ matrix.profile }} install --batch-mode 
--no-transfer-progress \
           -DexcludedGroups=org.apache.drill.categories.EasyOutOfMemory \
           -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
       - name: Test Specific Categories # EasyOutOfMemory
         run: |
-          sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches' && \
           mvn -P${{ matrix.profile }} test -pl 
org.apache.drill.exec:drill-java-exec \
           -Dgroups=org.apache.drill.categories.EasyOutOfMemory \
           -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120

Reply via email to