nontriv nulli test: put non-clobbered ops >72h #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
the sequence of ops used by
log_nullification_nontrivial.json
,has all ops happening within 72h, but it seems clear that
this change moves op0 and op1 outside the 72h window, so that only clobbered events are inside it
the wording in the spec about the conditions for clobbering ops was slightly unclear to me, so i tried to dig into test cases for certainty before suggesting a wording change, and ended up here. accepting or resolving this change (specifically re op1) would clarify my question about the spec.
note: i expected the test to fail when i moved
op2
outside the 72h window as well, but it did not. from what i can see, the tests only asserts that a sequence of events is made up of a valid submitted ops, but not that any are accepted/rejected or that any particular state results at the end. if that's not meant to be the case, i'd love to add assertions about that!