Abacn commented on PR #31163:
URL: https://github.com/apache/beam/pull/31163#issuecomment-2093672637

   THe failing test is caused by this PR. After merged java precommit is read 
on master branch, and the same failure see in other PRs (e.g. #31175: 
https://github.com/apache/beam/actions/runs/8943529889/job/24568447748?pr=31175)
   
   I checked locally that it fails on latest master
   
   ```
   cacheCandidatesUpdaterTest
   java.lang.AssertionError: expected:<2> but was:<3>
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
   ```
   
   and passes when reverting this PR
   
   ```
   $ git checkout HEAD^
   $ ./gradlew :runners:spark:3:test --tests 
org.apache.beam.runners.spark.CacheTest
   ```
   
   get 
   
   ```
   Tests Standard error
   Test Duration        Result
   cacheCandidatesUpdaterTest   0.333s  passed
   shouldCacheTest      1.137s  passed
   ```
   
   


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