blobstor: rewrite TestIterate_IgnoreErrors() #1215

Closed
opened 2024-07-01 14:54:27 +00:00 by elebedeva · 1 comment
Member

TestIterate_IgnoreErrors() here is commented out right now. There are lots of errors when the code is uncommented. I suggest to rewrite the test.

`TestIterate_IgnoreErrors()` [here](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/36eab4059c43af7f1d7f27b91cde85450a166dcb/pkg/local_object_storage/blobstor/iterate_test.go#L92) is commented out right now. There are lots of errors when the code is uncommented. I suggest to rewrite the test.
elebedeva added the
triage
internal
labels 2024-07-01 14:54:27 +00:00
fyrchik added the
frostfs-node
label 2024-07-02 11:39:35 +00:00
Owner

The test resides in the blobstor package, which uses common.Storage interface. We don't need to rely on fstree/blobovnicza and wrong permissions, but rather test that even if one of the storages has returned an error, we continue the iteration.

The behaviour of fstree and blobovnicza can be tested in their respective packages.

The test resides in the blobstor package, which uses `common.Storage` interface. We don't need to rely on fstree/blobovnicza and wrong permissions, but rather test that even if one of the storages has returned an error, we continue the iteration. The behaviour of fstree and blobovnicza can be tested in their respective packages.
fyrchik removed the
triage
label 2024-10-07 08:05:51 +00:00
fyrchik self-assigned this 2024-10-07 08:16:12 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1215
No description provided.