szetszwo commented on PR #985:
URL: https://github.com/apache/ratis/pull/985#issuecomment-1850606142

   @adoroszlai , thanks for working on this!  When generating the summary, 
could we delete the dirs for the successful cases.  E.g.  only Iteration 5 
failed below.  It should delete all dirs except for `iteration5`.
   ```
   result-TestMultiRaftGroup-split-1$cat summary.txt 
   Iteration 1 exit code: 0
   Iteration 2 exit code: 0
   Iteration 3 exit code: 0
   Iteration 4 exit code: 0
   Iteration 5 exit code: 1
   Iteration 6 exit code: 0
   Iteration 7 exit code: 0
   Iteration 8 exit code: 0
   Iteration 9 exit code: 0
   Iteration 10 exit code: 0
   result-TestMultiRaftGroup-split-1$ls -l
   total 8
   drwxr-xr-x@ 5 szetszwo  staff  160 Dec 11 10:01 iteration1
   drwxr-xr-x@ 5 szetszwo  staff  160 Dec 11 10:01 iteration10
   drwxr-xr-x@ 5 szetszwo  staff  160 Dec 11 10:01 iteration2
   drwxr-xr-x@ 5 szetszwo  staff  160 Dec 11 10:01 iteration3
   drwxr-xr-x@ 5 szetszwo  staff  160 Dec 11 10:01 iteration4
   drwxr-xr-x@ 8 szetszwo  staff  256 Dec 11 10:02 iteration5
   drwxr-xr-x@ 5 szetszwo  staff  160 Dec 11 10:01 iteration6
   drwxr-xr-x@ 5 szetszwo  staff  160 Dec 11 10:01 iteration7
   drwxr-xr-x@ 5 szetszwo  staff  160 Dec 11 10:01 iteration8
   drwxr-xr-x@ 5 szetszwo  staff  160 Dec 11 10:01 iteration9
   -rw-r--r--@ 1 szetszwo  staff  251 Dec 11  2023 summary.txt
   ```


-- 
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]

Reply via email to