From 2fbc2432cb9be54d273a27cef85f9aa58d0d5e35 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 23 Nov 2025 09:59:57 -0800 Subject: [PATCH] fix: force Maven clean build to pick up updated Java client JARs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: mvn test was using cached compiled classes - Changed command from 'mvn test' to 'mvn clean test' - Forces recompilation of test code - Ensures updated seaweedfs-client JAR with new logging is used This should now show the INFO logs: - close: path=X totalPosition=Y buffer.position()=Z - writeCurrentBufferToService: buffer.position()=X - ✓ Wrote chunk to URL at offset X size Y bytes --- test/java/spark/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/java/spark/docker-compose.yml b/test/java/spark/docker-compose.yml index 7428c9b44..6811631c5 100644 --- a/test/java/spark/docker-compose.yml +++ b/test/java/spark/docker-compose.yml @@ -83,7 +83,7 @@ services: - MAVEN_OPTS=-Dsun.net.inetaddr.ttl=0 -Dnetworkaddress.cache.ttl=0 # Force fsync on close to ensure data is flushed before file is considered written - SPARK_SUBMIT_OPTS=-Dfs.seaweedfs.impl.disable.cache=true - command: sh -c "sleep 30 && mvn test" + command: sh -c "sleep 30 && mvn clean test" depends_on: seaweedfs-filer: condition: service_healthy