Increase wait time as it seems to take more time for complex object.

This commit is contained in:
Vladimir Domnich 2022-07-21 23:16:17 +04:00
parent 39ad4e53a4
commit 459581004d

View file

@ -122,7 +122,7 @@ def test_object_api_lifetime(prepare_wallet_and_deposit, request, object_size):
# Wait for GC, because object with expiration is counted as alive until GC removes it
with allure.step('Wait until GC completes on storage nodes'):
sleep(robot_time_to_int(SHARD_0_GC_SLEEP))
sleep(1.5 * robot_time_to_int(SHARD_0_GC_SLEEP))
with allure.step('Check object deleted because it expires-on epoch'):
with pytest.raises(Exception, match='.*object not found.*'):