commit a800ccc68bab2a31c927e7393e07ade881602acb from: Vladimir Davydov date: Wed Oct 02 09:37:31 2024 UTC test: disable fiber slice check in replica_apply_order test Since commit e19bca5a74e8 ("box: check fiber slice in generic implementation of index count"), Vinyl's version of `index.count()` checks the fiber slice. As a result, the test may fail if it runs under a heavy load: ``` | @@ -94,6 +94,7 @@ | end | end; | | --- | + | - error: fiber slice is exceeded | | ... | -- Verify that at any moment max index is corresponding to amount of tuples, | -- which means that changes apply order is correct ``` Let's set the max fiber slice to a big value to avoid that. NO_DOC=test fix NO_CHANGELOG=test fix (cherry picked from commit b5fb66437a22ea65ed27c2ed14636e8036b079d3) commit - ca1e0dee60387bfb0d4862d5b8f41434897cb492 commit + a800ccc68bab2a31c927e7393e07ade881602acb blob - 513b722a79670b876e65bed7a2f5fe71f8f21502 blob + 764f00d84a6596f01660963135edfee20582ebf8 --- test/replication/replica_apply_order.result +++ test/replication/replica_apply_order.result @@ -75,6 +75,10 @@ test_run:cmd("switch replica1") | --- | - true | ... +-- index.count() checks fiber slice (gh-10553) +require('fiber').set_max_slice(9000) + | --- + | ... test_run:cmd("setopt delimiter ';'") | --- | - true blob - ba54ef8439de2ba3398d818ecd3f03ac2ed91af1 blob + 2ce478bdfe11c4450fd5b188b177aa009eacaf9f --- test/replication/replica_apply_order.test.lua +++ test/replication/replica_apply_order.test.lua @@ -26,6 +26,8 @@ ch:get() errinj.set("ERRINJ_RELAY_FINAL_SLEEP", false) test_run:cmd("switch replica1") +-- index.count() checks fiber slice (gh-10553) +require('fiber').set_max_slice(9000) test_run:cmd("setopt delimiter ';'") function get_max_index_and_count() return box.space.test.index.primary:max()[1], box.space.test.index.primary:count()