Commit Graph

9 Commits

Author SHA1 Message Date
Felipe Lessa
3e33c58af0
Generalize session data (huge commit). 2015-05-31 11:07:23 -03:00
Felipe Lessa
ec4623da34 Do not run large data tests in parallel.
Brings peak memory usage of the persistent test suite from 6 GiB to
4 GiB.  Still very bad, though.
2015-05-28 13:02:54 -03:00
Felipe Lessa
83faccf3f9 Use insertLookupWithKey when needing old value.
updateLookupWithKey returns original value only if it was deleted.  If
it was updated, it returns the updated value.  On both acid-state and
MockStorage we want the old value, though.

Now all acid-state tests are green once more.

MockStorage tests were already green because MockStorage does not
mantain a cached mapping of auth IDs to session IDs.
2015-05-28 02:03:12 -03:00
Felipe Lessa
8746b5eb4f Fix acid-state's implementation of {insert,replace}Session. 2015-05-28 01:28:07 -03:00
Felipe Lessa
82b7ebdca4 Fix example on how to use acid-state backend. 2015-05-28 01:27:40 -03:00
Felipe Lessa
b446b0ea92 Add storage tests for acid-state, both memory and local storage. 2015-05-28 01:27:13 -03:00
Felipe Lessa
95194a09ca Fix URL references. 2015-05-26 01:00:20 -03:00
Felipe Lessa
c2bd20cd56 Add acid-state to main README, include better example of usage. 2015-05-25 22:09:25 -03:00
Felipe Lessa
bac54a5c70
New serversession-backend-acid-state package. 2015-05-25 21:31:47 -03:00