peterxcli commented on PR #10537:
URL: https://github.com/apache/ozone/pull/10537#issuecomment-4733138220

   @adoroszlai Thanks for checking out!
   
   > I cannot reproduce the problem with your command on:
   
   sorry the reproduction command is:
   ```bash
   mvn clean test-compile -pl hadoop-ozone/s3gateway -am
   ```
   
   
   > Do you have different versions?
   
   my env:
   
   ```
   Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5)
   Maven home: /opt/homebrew/Cellar/maven/3.9.16/libexec
   Java version: 21.0.6, vendor: Azul Systems, Inc., runtime: 
/Users/lixucheng/.sdkman/candidates/java/21.0.6-zulu/zulu-21.jdk/Contents/Home
   Default locale: en_TW, platform encoding: UTF-8
   OS name: "mac os x", version: "26.5", arch: "aarch64", family: "mac"
   ```
   
   > Do you have some AI agent working in parallel on the same source root?
   
   Actually I was using zed's UI to directly run single test case, for example, 
the auto generate command by zed is:
   ```bash
   /bin/sh -i -c 'package="org.apache.hadoop.ozone.s3.endpoint"; outer=""; 
inner="TestObjectDelete"; method="testDelete"; sep="$"; if [ -n "$outer" ]; 
then c="$outer$sep$inner"; else c="$inner"; fi; if [ -n "$package" ]; then 
fqc="$package.$c"; else fqc="$c"; fi; 
f="/Users/lixucheng/Documents/oss/apache/ozone/hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestObjectDelete.java";
 p="$PWD"; d=$(dirname "${f#$p/}"); if [ -f pom.xml ]; then m="."; md="$d"; 
while [ "$md" != "." ] && [ "$md" != "/" ]; do if [ -f "$md/pom.xml" ]; then 
m="$md"; break; fi; md=$(dirname "$md"); done; [ -f ./mvnw ] && CMD="./mvnw" || 
CMD="mvn"; if [ "$m" = "." ]; then $CMD clean test -Dtest="$fqc#$method"; else 
$CMD clean test-compile -pl "$m" -am && $CMD test -pl "$m" 
-Dtest="$fqc#$method"; fi; elif [ -f build.gradle ] || [ -f build.gradle.kts ] 
|| [ -f settings.gradle ] || [ -f settings.gradle.kts ]; then m="."; md="$d"; 
while [ "$md" != "." ] && [ "$md" != "/" ]; do if [ -f "$md/bui
 ld.gradle" ] || [ -f "$md/build.gradle.kts" ]; then m="$md"; break; fi; 
md=$(dirname "$md"); done; if [ "$m" = "." ]; then mp=""; else mp=":$(echo "$m" 
| tr '/' ':')"; fi; [ -f ./gradlew ] && CMD="./gradlew" || CMD="gradle"; $CMD 
${mp}:test --tests "$fqc.$method"; else >&2 echo 'No build tool found'; exit 1; 
fi;'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to