Closed CXuesong closed 7 years ago
Migration is nearly complete. However, the concurrent execution of unit tests exposed some inconsistency problem, especially, assertion fails in Site.LoginAsync.
The absence of Assert.Inconclusive
is also a little bit troublesome…
A strange behavior revealed!
I have two WikiClient
s, A & B. Login to the endpoint X with A, login to the endpoint X with B, and logout from X with B; then we will surprisingly find out we've been logged out from X with A!
It might be MW's security precaution… Anyway, I'm trying to confirm this on Phabricator.
It's already confirmed in T51890.
It seems that I'm the latest victim. Hooray 😂
Thus, for now the unit tests are asynchronous yet serial. Anyway the migration is done.
… which enables some real asynchronous test methods.