#151 /tmp race in test case
Opened 3 years ago by fweimer. Modified 2 years ago

The test case in the file ipsilon/providers/saml2/sessions.py contains this:

    factory = SAMLSessionFactory('/tmp/saml2sessions.sqlite')

Presumably, you can just use ":memory:" instead of a file in /tmp. Note that in order to be race-free, SQLite databases need to reside in directories which are not world-writable (so /tmp is not a proper place, even if you use mkstemp).


Fields changed

cc: => fweimer@redhat.com

Fields changed

milestone: => Backlog

Metadata Update from @nkinder:
- Issue set to the milestone: Backlog

2 years ago

Login to comment on this ticket.

Metadata