[#102] test: Set up pool with SessionExpiration value
neofs-node v0.26.1 release tracks session token expiration more closely, so it has to be specified correctly. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
0d2621d346
commit
3ef46151d2
1 changed files with 6 additions and 4 deletions
|
@ -7,6 +7,7 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"math"
|
||||
"mime/multipart"
|
||||
"net/http"
|
||||
"sort"
|
||||
|
@ -35,7 +36,7 @@ type putResponse struct {
|
|||
func TestIntegration(t *testing.T) {
|
||||
rootCtx := context.Background()
|
||||
aioImage := "nspccdev/neofs-aio-testcontainer:"
|
||||
versions := []string{"0.24.0", "0.25.1", "latest"}
|
||||
versions := []string{"0.24.0", "0.25.1", "0.26.1", "latest"}
|
||||
key, err := keys.NewPrivateKeyFromHex("1dd37fba80fec4e6a6f13fd708d8dcb3b29def768017052f6c930fa1c5d90bbb")
|
||||
require.NoError(t, err)
|
||||
|
||||
|
@ -272,6 +273,7 @@ func getPool(ctx context.Context, t *testing.T, key *keys.PrivateKey) pool.Pool
|
|||
Key: &key.PrivateKey,
|
||||
NodeConnectionTimeout: 5 * time.Second,
|
||||
NodeRequestTimeout: 5 * time.Second,
|
||||
SessionExpirationEpoch: math.MaxUint64,
|
||||
}
|
||||
clientPool, err := pb.Build(ctx, opts)
|
||||
require.NoError(t, err)
|
||||
|
|
Loading…
Reference in a new issue