From 1136b1f3870cd55f741b8d497e2dc761fc117753 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Sun, 17 Sep 2023 22:22:30 +0300 Subject: [PATCH] integration: drop image name from parameters, we only have one It was needed before neofs-aio 0.37.0. Signed-off-by: Roman Khimov --- integration_test.go | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/integration_test.go b/integration_test.go index be5535c..185b970 100644 --- a/integration_test.go +++ b/integration_test.go @@ -37,11 +37,6 @@ type putResponse struct { OID string `json:"object_id"` } -type dockerImage struct { - image string - version string -} - const ( testContainerName = "friendly" testListenAddress = "localhost:8082" @@ -58,10 +53,7 @@ var ( ) func TestIntegration(t *testing.T) { - versions := []dockerImage{ - {image: "nspccdev/neofs-aio", version: "0.37.0"}, - {image: "nspccdev/neofs-aio", version: "0.38.0"}, - } + versions := []string{"0.37.0", "0.38.0"} key, err := keys.NewPrivateKeyFromHex("1dd37fba80fec4e6a6f13fd708d8dcb3b29def768017052f6c930fa1c5d90bbb") require.NoError(t, err) @@ -70,7 +62,7 @@ func TestIntegration(t *testing.T) { ownerID := signer.UserID() for _, version := range versions { - image := fmt.Sprintf("%s:%s", version.image, version.version) + image := fmt.Sprintf("nspccdev/neofs-aio:%s", version) ctx, cancel2 := context.WithCancel(context.Background())