Skip to content

Commit c0731a6

Browse files
committed
fix: resolve CI failures on #1731 (attempt 1)
1 parent 7f23cb6 commit c0731a6

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tests/test_protocol.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -862,12 +862,7 @@ def test_nsec_bitmap_zero_length_window_rejected():
862862

863863

864864
def test_nsec_bitmap_truncated_window_header_rejected():
865-
"""A bitmap with a trailing byte too short to hold a window header must be rejected.
866-
867-
rdata = compressed next-name (2B) + one valid window block (3B) + 1 stray byte.
868-
On the second loop iteration, offset+2 walks past the record's declared end —
869-
the parser must refuse to read window/length fields from past the record.
870-
"""
865+
"""Reject NSEC bitmap with a trailing byte too short to hold a window header."""
871866
packet = (
872867
b"\x00\x00\x84\x00\x00\x00\x00\x02\x00\x00\x00\x00"
873868
b"\x04test\x05local\x00"

0 commit comments

Comments
 (0)