File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release.
1414
1515### Fixed
1616
17+ - crud tests with Tarantool 3.0 (#293 )
18+
1719## [ 1.11.0] - 2023-05-18
1820
1921The release adds pagination support and wrappers for the
Original file line number Diff line number Diff line change @@ -75,12 +75,22 @@ box.once('guest', function()
7575 box .schema .user .grant (' guest' , ' super' )
7676end )
7777local uri = ' guest@127.0.0.1:3013'
78+ local box_info = box .info ()
79+
80+ local replicaset_uuid
81+ if box_info .replicaset then
82+ -- Since Tarantool 3.0.
83+ replicaset_uuid = box_info .replicaset .uuid
84+ else
85+ replicaset_uuid = box_info .cluster .uuid
86+ end
87+
7888local cfg = {
7989 bucket_count = 300 ,
8090 sharding = {
81- [box . info (). cluster . uuid ] = {
91+ [replicaset_uuid ] = {
8292 replicas = {
83- [box . info () .uuid ] = {
93+ [box_info .uuid ] = {
8494 uri = uri ,
8595 name = ' storage' ,
8696 master = true ,
@@ -89,7 +99,7 @@ local cfg = {
8999 },
90100 },
91101}
92- vshard .storage .cfg (cfg , box . info () .uuid )
102+ vshard .storage .cfg (cfg , box_info .uuid )
93103vshard .router .cfg (cfg )
94104vshard .router .bootstrap ()
95105
You can’t perform that action at this time.
0 commit comments