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.
14
14
15
15
### Fixed
16
16
17
+ - crud tests with Tarantool 3.0 (#293 )
18
+
17
19
## [ 1.11.0] - 2023-05-18
18
20
19
21
The 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()
75
75
box .schema .user .grant (' guest' , ' super' )
76
76
end )
77
77
local 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
+
78
88
local cfg = {
79
89
bucket_count = 300 ,
80
90
sharding = {
81
- [box . info (). cluster . uuid ] = {
91
+ [replicaset_uuid ] = {
82
92
replicas = {
83
- [box . info () .uuid ] = {
93
+ [box_info .uuid ] = {
84
94
uri = uri ,
85
95
name = ' storage' ,
86
96
master = true ,
@@ -89,7 +99,7 @@ local cfg = {
89
99
},
90
100
},
91
101
}
92
- vshard .storage .cfg (cfg , box . info () .uuid )
102
+ vshard .storage .cfg (cfg , box_info .uuid )
93
103
vshard .router .cfg (cfg )
94
104
vshard .router .bootstrap ()
95
105
You can’t perform that action at this time.
0 commit comments