Skip to content

Commit 2f1bb69

Browse files
committed
skipped static credentials test for YDB version < 24.1
1 parent 2486dbe commit 2f1bb69

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration/driver_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import (
3030
"github.com/ydb-platform/ydb-go-sdk/v3"
3131
"github.com/ydb-platform/ydb-go-sdk/v3/config"
3232
"github.com/ydb-platform/ydb-go-sdk/v3/internal/meta"
33+
"github.com/ydb-platform/ydb-go-sdk/v3/internal/version"
3334
"github.com/ydb-platform/ydb-go-sdk/v3/internal/xtest"
3435
"github.com/ydb-platform/ydb-go-sdk/v3/log"
3536
"github.com/ydb-platform/ydb-go-sdk/v3/retry"
@@ -167,6 +168,9 @@ func TestDriver(sourceTest *testing.T) {
167168
}
168169
}()
169170
t.RunSynced("StaticCredentials", func(t *xtest.SyncedTest) {
171+
if version.Lt(os.Getenv("YDB_VERSION"), "24.1") {
172+
t.Skip("read rows not allowed in YDB version '" + os.Getenv("YDB_VERSION") + "'")
173+
}
170174
t.Run("CreateUser", func(t *testing.T) {
171175
db, err := ydb.Open(ctx,
172176
os.Getenv("YDB_CONNECTION_STRING"),

0 commit comments

Comments
 (0)