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
{{ message }}
Repository navigation
Non re-entrant lock blocking extension use with msal>0.4.0 #26
Run pip install, ensure pip list | grep msal (or similar command outside of bash) is greater or equal to 0.4.1.
Run pytest
Expected:
Tests will pass
Actual:
Tests hang indefinitely.
What happened is that in 8a7495a006eafd75179c0975b7fc52fddf733ca5 the add function got refactored to call self.modify. In doing so, because of the inheritance involved, it is calling our FileTokenCache's implementation of these functions and causing us to try to take a second lock on a file we're already locked on. This is causing an indefinite hang.
I think this issue is an indicator that we should probably setup a nightly CI run for this repository. Would have helped detect this error earlier. A step further, would be running the extension's tests as part of CI in the upstream repository.
changed the title [-]Non re-entrant lock blocking extension use with msal~=0.4.1[/-][+]Non re-entrant lock blocking extension use with msal>0.4.0[/+]on Jul 17, 2019
Activity
Removing `FileTokenCache.add` overload.
marstr commentedon Jul 16, 2019
I think this issue is an indicator that we should probably setup a nightly CI run for this repository. Would have helped detect this error earlier. A step further, would be running the extension's tests as part of CI in the upstream repository.
Removing `FileTokenCache.add` overload. (#27)
[-]Non re-entrant lock blocking extension use with msal~=0.4.1[/-][+]Non re-entrant lock blocking extension use with msal>0.4.0[/+]