-
Notifications
You must be signed in to change notification settings - Fork 2
Improvement/s3 utils 191 #337
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
base: development/1.16
Are you sure you want to change the base?
Conversation
900271a
to
02d89bc
Compare
@@ -28,7 +28,7 @@ | |||
"dependencies": { | |||
"@senx/warp10": "^2.0.3", | |||
"JSONStream": "^1.3.5", | |||
"arsenal": "git+https://github.com/scality/arsenal#8.2.8", | |||
"arsenal": "git+https://github.com/scality/arsenal#22a5462d7d9bdec0d21a0e9fb484594af35c1cee", |
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.
Please note that this will be switched to the arsenal adequate version once the current in review PR with a fix is merged: scality/Arsenal#2371
254ba0b
to
ba16cc2
Compare
02d89bc
to
3d693cb
Compare
4fbf388
to
6ca91b6
Compare
This commit actually implements the _getIsTransient and _pensieveLocationIsTransient methods in the CountWorker.js previously implemented on arsenal and only used by the CountWorker.js. Issue: S3UTILS-191
afb8abd
to
1c533be
Compare
Hello benzekrimaha,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
@@ -180,13 +174,11 @@ describe('CountItems::CountWorker', () => { | |||
sendFn: testSendFn, | |||
client: mongoMock, | |||
}); | |||
w.getIsTransient = jest.fn((bucketInfo, cb) => cb(null, true)); |
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.
just mocking getIsTransient
means we basically do not execute this code...
- Best to have some test exercising the "whole" code
- If needed, we may use a mock (in some tests, ideally not all) to simulate specific conditions/results/...
- In any case, need extra tests cases to verify the new functions behave somewhat correctly (esp. do not crash) and the information ("is transient") is used appropriately
Issue: S3UTILS-191