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
It seems that PC/SC-Lite doesn't let connecting to the card until the background thread completed some initialization (which is designated, in particular, by the Card ATR: log). So even if the card is present straight away, a quickly arriving SCardConnect() call may fail because of the timings.
This doesn't seem like a trivial thing to fix. Either we could try improving the PC/SC-Lite behavior, so that it actually finishes the card initialization together with the reader's one. Or we could try changing all the tests to wait until the card readiness is signaled.
Sample failure (although this issue occurs in various tests):
The text was updated successfully, but these errors were encountered: