Skip to content

Commit 48dcbc2

Browse files
committed
Test at the staleness cutoff: failure still counts
1 parent 013e79d commit 48dcbc2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_buildbotapi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ async def test_buildbotapi_stable_builders() -> None:
124124
("tests/buildbotapi/no-builds.json", FAILURE_COMPLETE_AT + DAY, False),
125125
# Just inside the staleness cutoff: failure still counts
126126
("tests/buildbotapi/failure.json", FAILURE_COMPLETE_AT + 13 * DAY, True),
127+
# At the staleness cutoff: failure still counts
128+
("tests/buildbotapi/failure.json", FAILURE_COMPLETE_AT + 14 * DAY, True),
127129
# Stale build (last run > 14 days ago): builder ignored
128130
("tests/buildbotapi/failure.json", FAILURE_COMPLETE_AT + 15 * DAY, False),
129131
],

0 commit comments

Comments
 (0)