Skip to content

Commit

Permalink
test: disable fullscan warnings in read tests
Browse files Browse the repository at this point in the history
Part of #422
  • Loading branch information
DifferentialOrange committed Mar 20, 2024
1 parent 9c16007 commit 864daf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/select_readview_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2496,6 +2496,9 @@ end

local function read_impl(cg, space, conditions, opts)
return cg.cluster.main_server:exec(function(space, conditions, opts)
opts = table.deepcopy(opts) or {}
opts.fullscan = true

local crud = require('crud')
local rv, err = crud.readview()
t.assert_equals(err, nil)
Expand Down
1 change: 1 addition & 0 deletions test/integration/select_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2271,6 +2271,7 @@ end
local function read_impl(cg, space, conditions, opts)
opts = table.deepcopy(opts) or {}
opts.mode = 'write'
opts.fullscan = true

local resp, err = cg.cluster.main_server:call('crud.select', {space, conditions, opts})

Expand Down

0 comments on commit 864daf3

Please sign in to comment.