Entries in system.session table are not cleared properly

Hi, We are currently using cypress to run our automation tests. In case of failure, we won’t be able to perform a logout. And because of this, we reach the max sessions for a trial license. So to overcome this problem before each test run we also run a task that destroys the sessions. The code for destroying sessions is below: Collection<? extends ISession> sessions = com.mendix.core.Core.getActiveSessions(); for (ISession iSession : sessions) { Core.logout(iSession); } The above code doesn’t seem to clear system.session table completely. Sometimes it is observed that some entries still exist in the table, the system$session_user table is cleared properly. 
0 answers