chaoqin-li1123 commented on code in PR #41099:
URL: https://github.com/apache/spark/pull/41099#discussion_r1199516321
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/RocksDBStateStoreSuite.scala:
##########
@@ -177,6 +185,33 @@ class RocksDBStateStoreSuite extends
StateStoreSuiteBase[RocksDBStateStoreProvid
override def getDefaultSQLConf(
minDeltasForSnapshot: Int,
- numOfVersToRetainInMemory: Int): SQLConf = new SQLConf()
+ numOfVersToRetainInMemory: Int): SQLConf = SQLConf.get
+
+
+ override def testQuietly(name: String)(f: => Unit): Unit = {
+ test(name) {
+ quietly {
+ f
+ }
+ }
+ }
+
+ override def testWithAllCodec(name: String)(func: => Any): Unit = {
+ codecsInShortName.foreach { codecShortName =>
+ super.test(s"$name - with codec $codecShortName") {
+ withSQLConf(SQLConf.STATE_STORE_COMPRESSION_CODEC.key ->
codecShortName) {
+ func
+ }
+ }
+ }
+
+ CompressionCodec.ALL_COMPRESSION_CODECS.foreach { codecShortName =>
Review Comment:
Renamed to codecName
--
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]