-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: delete options not being passed #1784
fix: delete options not being passed #1784
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
0e59ba3
to
640f054
Compare
I have read the CLA Document and I hereby sign the CLA |
/recheck |
recheck |
@ryaneorth Please add a test for this case |
640f054
to
c152814
Compare
I have read the CLA Document and I hereby sign the CLA |
recheck |
|
||
type observableTest struct{} | ||
|
||
func (obs observableTest) New(revisionQuantization, _, gcWindow time.Duration, watchBufferLength uint16) (datastore.Datastore, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding this makes it so we test all of the Datastore tests with the Observable proxy, and more specifically the DeleteWithLimitTest
which verifies the fix in this PR
@josephschorr - added tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the change!
The
...options.DeleteOptionsOption
are not being passed to the readwrite transaction through observable so delete limits are not honored