annhchen89 opened a new pull request, #5962:
URL: https://github.com/apache/accumulo/pull/5962

   ### **What does this PR do?**
   This PR is fixing a nondeterministic test failure in 
ConditionalMutationTest.testPrettyPrint() when running with Nondex.
   
   ### **Problem**
   The original test checked for a single concatenated string that included 
both iterators’ data in a specific order.  This caused nondeterministic 
failures under NonDex, since the order of iterators is not guaranteed.
   
   ### **Reproduce Test**
   ```
   mvn -pl core edu.illinois:nondex-maven-plugin:2.2.1:nondex 
-Dtest=org.apache.accumulo.core.data.ConditionalMutationTest#testPrettyPrint
   ```
   
   ### **The Fix**
   Instead of asserting one long expected string that assumes a fixed iterator 
sequence, the updated test now extracts the `iterator` section and individually 
checks each iterator’s:
   - **name**
   - **class**
   - **priority**
   - and **key-value options**
   
   This ensures the test verifies the logical presence of all expected iterator 
properties,  
   regardless of their order in the output string.
   


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