linliu-code commented on code in PR #12655:
URL: https://github.com/apache/hudi/pull/12655#discussion_r1919422219
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestCOWDataSource.scala:
##########
@@ -690,7 +690,7 @@ class TestCOWDataSource extends HoodieSparkClientTestBase
with ScalaAssertionSup
class UpdateThread(dataGen: HoodieTestDataGenerator, spark: SparkSession,
commonOpts: Map[String, String], basePath: String,
instantTime: String, countDownLatch: CountDownLatch,
numRetries: Integer = 0) extends Runnable {
override def run() {
- val updateRecs =
recordsToStrings(dataGen.generateUniqueUpdates(instantTime, 500)).asScala.toList
+ val updateRecs =
recordsToStrings(dataGen.generateUniqueUpdates(instantTime, 550)).asScala.toList
Review Comment:
This guarantees on the intersection, since the updates are unique record
keys among initial 1000 record keys.
--
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]