Yang Jie created SPARK-62417:
--------------------------------

             Summary: Initialize base session in FetchErrorDetailsHandlerSuite
                 Key: SPARK-62417
                 URL: https://issues.apache.org/jira/browse/SPARK-62417
             Project: Spark
          Issue Type: Test
          Components: Connect
    Affects Versions: 5.0.0
            Reporter: Yang Jie


FetchErrorDetailsHandlerSuite does not initialize the base session of 
SparkConnectService.sessionManager, so 14 of its 19 tests fail with 
java.util.NoSuchElementException: None.get (from 
SparkConnectSessionManager.newIsolatedSession) when the suite runs on its own:

build/sbt 'connect/testOnly 
org.apache.spark.sql.connect.service.FetchErrorDetailsHandlerSuite'

It passes in GitHub Actions only because another suite that initializes the 
base session runs before it in the same JVM.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to