Skip to content
Closed
Prev Previous commit
Next Next commit
Cleanup
  • Loading branch information
Changgyoo Park committed Jun 18, 2024
commit 1df2600c46db320f5c99ab944007eb52fbadee61
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,6 @@ class SparkSessionE2ESuite extends ConnectFunSuite with RemoteSparkSession {
assert(session2 eq SparkSession.getActiveSession.get)
assert(session2 eq SparkSession.getDefaultSession.get)
assert(session2.range(3).collect().length == 3)

session2.client.hijackServerSideSessionIdForTesting("")
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class ResponseValidator extends Logging {
* sure that server is validating the session ID.
*/
private[sql] def hijackServerSideSessionIdForTesting(suffix: String): Unit = {
hasServerSideSessionIDChanged = false // Reset the flag as invoking it implies a new test.
serverSideSessionId = Some(serverSideSessionId.getOrElse("") + suffix)
}

Expand Down