panbingkun commented on PR #43921:
URL: https://github.com/apache/spark/pull/43921#issuecomment-1820701185

   > I am curious why this issue did not occur in previous tests?
   
   Because `HiveThriftServer2ListenerSuite` and `ThriftServerPageSuite` extends 
`SparkFunSuite` with ***`BeforeAndAfter`***
   
https://github.com/apache/spark/blob/0b7a537be557032abddf42f143a079889a584c18/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/ui/HiveThriftServer2ListenerSuite.scala#L33
   
   
https://github.com/apache/spark/blob/0b7a537be557032abddf42f143a079889a584c18/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/ui/ThriftServerPageSuite.scala#L33
   
   However, 
`org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperationSuite` 
extends `SparkFunSuite` with ***`SharedSparkSession`***
   
https://github.com/apache/spark/blob/0b7a537be557032abddf42f143a079889a584c18/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/SparkExecuteStatementOperationSuite.scala#L38


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