From 7e542906ef9085a792e5ec5f7185bfdd9acecedb Mon Sep 17 00:00:00 2001
From: Airat Arifullin <a.arifullin@yadro.com>
Date: Fri, 6 Dec 2024 14:48:44 +0300
Subject: [PATCH] [#1539] go.mod: Bump `frostfs-sdk-go` version

* Also fix placement unit-test in object manager

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
---
 go.mod                                        |   2 +-
 go.sum                                        | Bin 41960 -> 41960 bytes
 .../object_manager/placement/cache_test.go    |   5 ++++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/go.mod b/go.mod
index 7e7fa584e..6ac37d343 100644
--- a/go.mod
+++ b/go.mod
@@ -8,7 +8,7 @@ require (
 	git.frostfs.info/TrueCloudLab/frostfs-crypto v0.6.0
 	git.frostfs.info/TrueCloudLab/frostfs-locode-db v0.4.1-0.20240710074952-65761deb5c0d
 	git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20241112082307-f17779933e88
-	git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20241107121119-cb813e27a823
+	git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20241206094944-81c423e7094d
 	git.frostfs.info/TrueCloudLab/hrw v1.2.1
 	git.frostfs.info/TrueCloudLab/multinet v0.0.0-20241015075604-6cb0d80e0972
 	git.frostfs.info/TrueCloudLab/policy-engine v0.0.0-20240814080254-96225afacb88
diff --git a/go.sum b/go.sum
index dec34ff6ec18fa4b25f7dae9c2f0464850404e86..e084c2445a2f0767c86590041f5b7c99264ec26d 100644
GIT binary patch
delta 118
zcmaEHoax1JrVY<nT#O9N3@lA7O-ytx43kZaj8n~l+!TcjLo2s}2v6-?|Ds&4Y~vCm
zU++M-sL~9dEN2gwN|)4p)1s09!|;e4^Yqa0$p&1ClWkczCSPU|7Q=4f<{H+Vc>um}
BBmn>b

delta 118
zcmaEHoax1JrVY<nTnr7&4UG&94J~z(lPnC4Q;p0MEsTs6G7PPXQwwq}-BL^QJ@axa
z(>)Bm^|g(Cv?B{lle{wAGs80V^WB|2%v^H|j3yg!DNeR!;h21xMOX~GftzbsbLIg6
D!n-5Y

diff --git a/pkg/services/object_manager/placement/cache_test.go b/pkg/services/object_manager/placement/cache_test.go
index a890d5357..7242970b5 100644
--- a/pkg/services/object_manager/placement/cache_test.go
+++ b/pkg/services/object_manager/placement/cache_test.go
@@ -85,7 +85,10 @@ func TestContainerNodesCache(t *testing.T) {
 	})
 	t.Run("the error is propagated", func(t *testing.T) {
 		var pp netmapSDK.PlacementPolicy
-		require.NoError(t, pp.DecodeString("REP 1 SELECT 1 FROM X FILTER ATTR EQ 42 AS X"))
+		r := netmapSDK.ReplicaDescriptor{}
+		r.SetNumberOfObjects(1)
+		r.SetSelectorName("Missing")
+		pp.AddReplicas(r)
 
 		c := placement.NewContainerNodesCache(size)
 		_, err := c.ContainerNodes(nm(1, nodes[0:1]), cidtest.ID(), pp)