Skip to content

Commit

Permalink
tests: fix vshard error check
Browse files Browse the repository at this point in the history
Since vshard is compatible with Tarantool 3.0 it supports
string replicaset identifiers so they renamed replicaset_uuid to
replicaset.
  • Loading branch information
olegrok committed Jan 16, 2024
1 parent e1841c6 commit 46377bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/failover_stateful_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ add('test_leaderless', function(g)
t.assert_covers(err, {
name = "MISSING_MASTER",
type = "ShardingError",
replicaset_uuid = storage_uuid,
replicaset = storage_uuid,
message = "Master is not configured for replicaset " .. storage_uuid,
})

Expand Down
2 changes: 1 addition & 1 deletion test/integration/rebalancing_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function g.test()
t.assert_covers(err, {
type = 'ShardingError',
name = 'MISSING_MASTER',
replicaset_uuid = g.sA1.replicaset_uuid,
replicaset = g.sA1.replicaset_uuid,
message = 'Master is not configured for' ..
' replicaset ' .. g.sA1.replicaset_uuid,
})
Expand Down

0 comments on commit 46377bd

Please sign in to comment.