Skip to content

Commit 411992c

Browse files
cxzl25ulysses-you
authored andcommitted
[KYUUBI #2676] Flaky Test: SparkOperationProgressSuite: test operation progress
### _Why are the changes needed?_ The update of `statusStore` is not timely. If the event interval is too short, less than the default value of `100ms`, the `statusStore` will not be updated. org.apache.spark.status.AppStatusListener#onTaskStart org.apache.spark.status.AppStatusListener#onTaskEnd ```scala maybeUpdate(stage, now) ``` close #2676 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #2818 from cxzl25/KYUUBI-2676. Closes #2676 51c4b7c [sychen] trigger test 56fb5ca [sychen] liveUpdate period Authored-by: sychen <sychen@ctrip.com> Signed-off-by: ulysses-you <ulyssesyou@apache.org>
1 parent 0cb6f16 commit 411992c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/operation/SparkOperationProgressSuite.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class SparkOperationProgressSuite extends WithSparkSQLEngine with HiveJDBCTestHe
3131
override protected def jdbcUrl: String = getJdbcUrl
3232
override def withKyuubiConf: Map[String, String] = Map(
3333
"spark.master" -> "local[1]",
34+
"spark.ui.liveUpdate.period" -> "0",
3435
"kyuubi.operation.progress.enabled" -> "true",
3536
"kyuubi.operation.status.polling.timeout" -> "1000")
3637

0 commit comments

Comments
 (0)