Skip to content

Commit 4c55898

Browse files
committed
Update tests
1 parent 29f31de commit 4c55898

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

readthedocs/rtd_tests/tests/test_core_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from unittest import mock
33

44
import pytest
5+
from django.conf import settings
56
from django.test import TestCase, override_settings
67
from django_dynamic_fixture import get
78

@@ -189,8 +190,8 @@ def test_trigger_max_concurrency_reached(self, update_docs, app):
189190
trigger_build(project=self.project, version=self.version)
190191
kwargs = {"build_commit": None, "build_api_key": mock.ANY}
191192
options = {
192-
"time_limit": int(7200 * 1.2),
193-
"soft_time_limit": 7200,
193+
"time_limit": settings.BUILD_TIME_LIMIT * 1.2,
194+
"soft_time_limit": settings.BUILD_TIME_LIMIT,
194195
"countdown": 5 * 60,
195196
"max_retries": 25,
196197
}

0 commit comments

Comments
 (0)