increase lock expiration in tests to 2500

This commit is contained in:
Elijah 2024-12-12 11:13:42 +00:00
parent 0c8f1581ae
commit 5901ddedfa

View File

@ -68,7 +68,7 @@ from tests.units.states.mutation import MutableSQLAModel, MutableTestState
from .states import GenState
CI = bool(os.environ.get("CI", False))
LOCK_EXPIRATION = 2000 if CI else 300
LOCK_EXPIRATION = 2500 if CI else 300
LOCK_WARNING_THRESHOLD = 1000 if CI else 100
LOCK_WARN_SLEEP = 1.5 if CI else 0.15
LOCK_EXPIRE_SLEEP = 2.5 if CI else 0.4