anishshri-db commented on code in PR #44165: URL: https://github.com/apache/spark/pull/44165#discussion_r1414826922
########## sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/RocksDBStateStoreSuite.scala: ########## @@ -131,19 +131,21 @@ class RocksDBStateStoreSuite extends StateStoreSuiteBase[RocksDBStateStoreProvid } withSQLConf(SQLConf.STATE_STORE_MIN_DELTAS_FOR_SNAPSHOT.key -> "1") { tryWithProviderResource(newStoreProvider()) { provider => - val store = provider.getStore(0) - // Verify state after updating - put(store, "a", 0, 1) - assert(get(store, "a", 0) === Some(1)) - assert(store.commit() === 1) - provider.doMaintenance() - assert(store.hasCommitted) - val storeMetrics = store.metrics - assert(storeMetrics.numKeys === 1) + val store = provider.getStore(0) + // Verify state after updating + put(store, "a", 0, 1) + assert(get(store, "a", 0) === Some(1)) + assert(store.commit() === 1) + provider.doMaintenance() + assert(store.hasCommitted) + val storeMetrics = store.metrics + assert(storeMetrics.numKeys === 1) + if (!isChangelogCheckpointingEnabled) { Review Comment: Done -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org