From fa858a8991d062690f1d947902ebdeb8087ccde1 Mon Sep 17 00:00:00 2001 From: Aleksey Myasnikov Date: Sat, 9 Nov 2024 01:12:27 +0300 Subject: [PATCH] skipped static credentials test for YDB version < 24.1 --- tests/integration/driver_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/driver_test.go b/tests/integration/driver_test.go index 085031a30..66604c81d 100644 --- a/tests/integration/driver_test.go +++ b/tests/integration/driver_test.go @@ -30,6 +30,7 @@ import ( "github.com/ydb-platform/ydb-go-sdk/v3" "github.com/ydb-platform/ydb-go-sdk/v3/config" "github.com/ydb-platform/ydb-go-sdk/v3/internal/meta" + "github.com/ydb-platform/ydb-go-sdk/v3/internal/version" "github.com/ydb-platform/ydb-go-sdk/v3/internal/xtest" "github.com/ydb-platform/ydb-go-sdk/v3/log" "github.com/ydb-platform/ydb-go-sdk/v3/retry" @@ -167,6 +168,9 @@ func TestDriver(sourceTest *testing.T) { } }() t.RunSynced("StaticCredentials", func(t *xtest.SyncedTest) { + if version.Lt(os.Getenv("YDB_VERSION"), "24.1") { + t.Skip("read rows not allowed in YDB version '" + os.Getenv("YDB_VERSION") + "'") + } t.Run("CreateUser", func(t *testing.T) { db, err := ydb.Open(ctx, os.Getenv("YDB_CONNECTION_STRING"),