Skip to content

Commit

Permalink
test: do not rely on replication in more read cases
Browse files Browse the repository at this point in the history
Some read cases were missing in #404 test stabilization commit. This
patch updates missing read cases.

1. https://github.com/tarantool/crud/actions/runs/7322196516/job/19943422319

Follows #404
  • Loading branch information
DifferentialOrange committed Dec 28, 2023
1 parent 3923ec1 commit 6529333
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/ddl_sharding_info_reload_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,8 @@ pgroup_key_change.test_pairs = function(g)
pairs_eval,
{
'customers',
{{'==', 'id', 1}, {'==', 'name', 'Emma'}, {'==', 'age', 22}}
{{'==', 'id', 1}, {'==', 'name', 'Emma'}, {'==', 'age', 22}},
{mode = 'write'},
})

-- Assert operation bucket_id is computed based on updated ddl info.
Expand All @@ -671,6 +672,7 @@ pgroup_key_change.test_pairs = function(g)
{
'customers',
{{'==', 'id', 1}, {'==', 'name', 'Emma'}, {'==', 'age', 22}},
{mode = 'write'},
})
t.assert_equals(err, nil)
t.assert_equals(obj, {test_customers_age_tuple})
Expand Down

0 comments on commit 6529333

Please sign in to comment.