US07-04: Prove Concurrency and Crash Recovery (#86)
This commit was merged in pull request #86.
This commit is contained in:
@@ -77,6 +77,8 @@ def test_unsafe_states_are_the_ones_where_disk_may_have_changed():
|
||||
JournalState.MOVING,
|
||||
JournalState.MOVED,
|
||||
JournalState.DATABASE_UPDATED,
|
||||
# The move happened and a human still has to decide about it (US07-04).
|
||||
JournalState.ROLLBACK_REQUIRED,
|
||||
}
|
||||
# planned has not touched anything; complete/rolled_back are settled.
|
||||
assert JournalState.PLANNED not in UNSAFE_STATES
|
||||
|
||||
Reference in New Issue
Block a user