Skip to content

Commit 4433264

Browse files
committed
aardvark.co.nz should not be ignored in the lychee link tests, even if it's a bit slow
1 parent 4b6db95 commit 4433264

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/linkcheck.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
with:
1313
fail: true
1414
args: >-
15-
--timeout 10
16-
--max-retries 2
17-
--exclude 'aardvark.co.nz'
15+
--timeout 20
16+
--max-retries 3
1817
'**/*.md'
1918
'**/*.rst'

tests/fixture_helpers.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ def get_or_create_test_calendar(
132132
calendar = None
133133
created = False
134134

135+
## First of all, check if the server test config specifies that we
136+
## should use a dedicated calendar. This can be specified in the features
137+
## as for now.
138+
test_cal_info = self.expected_features.is_supported('test-calendar', return_type=dict)
139+
if 'name' in test_cal_info or 'cal_url' in test.cal_info or 'cal_id' in test.cal_info:
140+
return principal.calendar(**test_cal_info)
141+
135142
# Check if server supports calendar creation via features
136143
supports_create = True
137144
if hasattr(client, "features") and client.features:

0 commit comments

Comments
 (0)