Browse Source

fix: force Maven clean build to pick up updated Java client JARs

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
pull/7526/head
chrislu 6 days ago
parent
commit
2fbc2432cb
  1. 2
      test/java/spark/docker-compose.yml

2
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

Loading…
Cancel
Save