James Bardin
18d71f273e
make inmem behave more like remote backends
...
When remote backend imeplemtations create a new named state, they may
need to acquire a lock and/or save an actual empty state to the backend.
Copy this behavior in the inmem backend for testing.
2017-08-01 19:34:21 -04:00
James Bardin
5deef9621d
export Reset()
...
This package is used for testing, so there needs to be an easy method
for reinitializing the stored data between tests.
2017-08-01 19:34:21 -04:00
James Bardin
ac60ddcd40
Support named states in inmeme backend
...
Used to expand test coverage
2017-08-01 19:34:21 -04:00
James Bardin
2392455a67
Add inmem remote backend
...
Add an Inmem remote state backend.
The only config option right now is a lock_id, which will instantiate
the backend in a locked state for testing.
2017-02-20 14:49:46 -05:00