dongjoon-hyun commented on a change in pull request #34548:
URL: https://github.com/apache/spark/pull/34548#discussion_r747216390



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingSessionWindowSuite.scala
##########
@@ -50,8 +51,7 @@ class StreamingSessionWindowSuite extends StreamTest
       (SQLConf.STATE_STORE_PROVIDER_CLASS.key, value.stripSuffix("$"))
     }
     // RocksDB doesn't support Apple Silicon yet
-    if (System.getProperty("os.name").equals("Mac OS X") &&
-        System.getProperty("os.arch").equals("aarch64")) {
+    if (Utils.isMac && System.getProperty("os.arch").equals("aarch64")) {

Review comment:
       I piggy-back this replacement from 
`System.getProperty("os.name").equals("Mac OS X")` to `Utils.isMac`.




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