You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(testing): Move CloseSession call after factory reset in TC_CGEN_2_8 (#37777)
* fix(testing): Move CloseSession call after factory reset in TC_CGEN_2_8
The current implementation of commissioner.CloseSession only marks the session
as defunct rather than fully closing it. This state can be reactivated if
messages are exchanged on the session.
By moving the CloseSession call to after the factory reset step, we ensure
that the device session is already destroyed before marking it as defunct,
preventing any possibility of message exchange that could reactivate the
session. This allows the commissioner to successfully create a new session
in subsequent steps.
A follow-up change will be needed to properly fix the CloseSession function
to use MarkForEviction instead of MarkAsDefunct, and potentially rename the
current function to better reflect its behavior.
0 commit comments