forked from TrueCloudLab/frostfs-node
[#1412] searchSvc: Check container is indexed
For non S3 containers it is expected to use attributes index for some attributes. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
1efa64ee72
commit
4572fa4874
9 changed files with 41 additions and 16 deletions
|
@ -49,7 +49,7 @@ func TestStorageEngine_Inhume(t *testing.T) {
|
|||
_, err = e.Inhume(context.Background(), inhumePrm)
|
||||
require.NoError(t, err)
|
||||
|
||||
addrs, err := Select(context.Background(), e, cnr, fs)
|
||||
addrs, err := Select(context.Background(), e, cnr, false, fs)
|
||||
require.NoError(t, err)
|
||||
require.Empty(t, addrs)
|
||||
})
|
||||
|
@ -78,7 +78,7 @@ func TestStorageEngine_Inhume(t *testing.T) {
|
|||
_, err = e.Inhume(context.Background(), inhumePrm)
|
||||
require.NoError(t, err)
|
||||
|
||||
addrs, err := Select(context.Background(), e, cnr, fs)
|
||||
addrs, err := Select(context.Background(), e, cnr, false, fs)
|
||||
require.NoError(t, err)
|
||||
require.Empty(t, addrs)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue