Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
integration: drop image name from parameters, we only have one
Browse files Browse the repository at this point in the history
It was needed before neofs-aio 0.37.0.

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Sep 17, 2023
1 parent f2e369d commit 1136b1f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
Expand All @@ -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())

Expand Down

0 comments on commit 1136b1f

Please sign in to comment.