max_vevent_rrule_occurrence: exclude 50/5000y tests from 32-bit platform for now

This commit is contained in:
Peter Bieringer
2026-08-02 16:29:05 +02:00
parent e225704174
commit 75a5d9f10e

View File

@@ -375,6 +375,7 @@ permissions: RrWw""")
event = get_file_content("event_full_day_rrule_until_before_dtstart.ics")
self.put("/calendar.ics/event_full_day_rrule_until_before_dtstart.ics", event, check=400)
@pytest.mark.skipif(sys.maxsize <= 2**32, reason="So far not working on on 32-bit platform")
def test_add_event_with_rrule_until_50y_limit_100(self) -> None:
"""Test event with RRULE UNTIL=+50y and limit 100."""
self.configure({"server": {"max_vevent_rrule_occurrence": 100}})
@@ -382,6 +383,7 @@ permissions: RrWw""")
event = get_file_content("event_full_day_rrule_until_50y.ics")
self.put("/calendar.ics/event_full_day_rrule_until_50y.ics", event, check=400)
@pytest.mark.skipif(sys.maxsize <= 2**32, reason="So far not working on on 32-bit platform")
def test_add_event_with_rrule_until_50y_limit_20000(self) -> None:
"""Test event with RRULE UNTIL=+50y and limit 20000."""
self.configure({"server": {"max_vevent_rrule_occurrence": 20000}})
@@ -389,6 +391,7 @@ permissions: RrWw""")
event = get_file_content("event_full_day_rrule_until_50y.ics")
self.put("/calendar.ics/event_full_day_rrule_until_50y.ics", event)
@pytest.mark.skipif(sys.maxsize <= 2**32, reason="So far not working on on 32-bit platform")
def test_add_event_with_rrule_until_5000y_limit_100(self) -> None:
"""Test event with RRULE UNTIL=+5000y and limit 100."""
self.configure({"server": {"max_vevent_rrule_occurrence": 100}})
@@ -396,6 +399,7 @@ permissions: RrWw""")
event = get_file_content("event_full_day_rrule_until_5000y.ics")
self.put("/calendar.ics/event_full_day_rrule_until_5000y.ics", event, check=400)
@pytest.mark.skipif(sys.maxsize <= 2**32, reason="So far not working on on 32-bit platform")
def test_add_event_with_rrule_until_5000y_limit_2000000(self) -> None:
"""Test event with RRULE UNTIL=+5000y and limit 2000000."""
self.configure({"server": {"max_vevent_rrule_occurrence": 2000000}})