dylanwong250 commented on code in PR #51484:
URL: https://github.com/apache/spark/pull/51484#discussion_r2211666347


##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/StateStoreSuite.scala:
##########
@@ -1453,9 +1454,9 @@ abstract class StateStoreSuiteBase[ProviderClass <: 
StateStoreProvider]
 
       assert(e.getCondition == "CANNOT_WRITE_STATE_STORE.CANNOT_COMMIT")
       if (store.getClass.getName contains ROCKSDB_STATE_STORE) {
-        assert(e.getMessage contains "RocksDBStateStore[id=(op=0,part=0)")
+        assert(e.getMessage contains "RocksDBStateStore")

Review Comment:
   My thoughts were to remove the specific formatting requirement for the 
message. I changed to add separate assertions to verify the log had this 
information but not in the exact format:
   
   ```
         assert(e.getMessage contains "operatorId=0")
         assert(e.getMessage contains "partitionId=0")
   ```



-- 
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]

Reply via email to