CLDSRV-835: Fix flaky cleanup and teardown s3C related tests#6109
CLDSRV-835: Fix flaky cleanup and teardown s3C related tests#6109bert-e merged 4 commits intodevelopment/9.3from
Conversation
Fix concurrence with cleanup triggering 404 instead of 200 because the function was not awaited and triggered the afterEach immediately
To avoid cascading issues between describe and avoid BucketAlreadyExists
Hello bourgoismickael,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Request integration branchesWaiting for integration branch creation to be requested by the user. To request integration branches, please comment on this pull request with the following command: Alternatively, the |
| provideRawOutput[util.promisify.custom] = args => | ||
| new Promise(resolve => | ||
| provideRawOutput(args, (httpCode, rawOutput) => resolve({ httpCode, rawOutput })) | ||
| ); |
There was a problem hiding this comment.
The provideRawOutput callback has a non-standard signature (httpCode, rawOutput) — no err first argument. The custom promisify implementation correctly handles this by always resolving (never rejecting). However, if curl crashes or the child process errors, the promise resolves with httpCode as undefined rather than rejecting. Consider adding a rejection path for unexpected failures, or at minimum a short comment explaining the always-resolves design choice.
— Claude Code
There was a problem hiding this comment.
It was like that before, it will be the assert on httpCode that will fail
|
LGTM — solid cleanup that fixes flaky teardown by switching to batched |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
@@ Coverage Diff @@
## development/9.3 #6109 +/- ##
===================================================
- Coverage 84.25% 84.24% -0.01%
===================================================
Files 206 206
Lines 13251 13251
===================================================
- Hits 11164 11163 -1
- Misses 2087 2088 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
No need to separate trailing slash keys. Use multi object delete instead of parallel single delete List all pagination Keep a fall back to individual deletes action for sse kms migration tests that use an older cloudserver version before migration
08e7b1b to
3a5f77a
Compare
|
LGTM |
|
/approve |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option The following options are set: approve |
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue CLDSRV-835. Goodbye bourgoismickael. |
Uh oh!
There was an error while loading. Please reload this page.