summaryzb opened a new pull request, #1235:
URL: https://github.com/apache/incubator-uniffle/pull/1235
### What changes were proposed in this pull request?
Add a little wait time before verify the result
### Why are the changes needed?
Usually this happens in spark2.3 integration test
```
Error: Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
31.317 s <<< FAILURE! - in org.apache.uniffle.test.WriteAndReadMetricsTest
Error: test Time elapsed: 28.47 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <55> but was: <54>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at
org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
at
org.apache.uniffle.test.SparkIntegrationTestBase.verifyTestResult(SparkIntegrationTestBase.java:130)
at
org.apache.uniffle.test.SparkIntegrationTestBase.run(SparkIntegrationTestBase.java:67)
at
org.apache.uniffle.test.WriteAndReadMetricsTest.test(WriteAndReadMetricsTest.java:40)
```
Inspired by [SPARK-24415](https://issues.apache.org/jira/browse/SPARK-24415)
It might be an order of events type problem, taskEndEvent trigger the metric
updates, while stageCompletion trigger the stageData updates
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Run local test in a loop of 100 times without a failure
--
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]