Ignore:
Timestamp:
01/15/26 11:29:54 (2 weeks ago)
Author:
Kris Deugau
Message:

/branches/cname-collision

Added specific test for CNAME colliding with a record that has a valid-after
timestamp in the past.

  • additional test record
  • adjusted timestamp-retrieval SQL
  • extend logic tree for this case

See #72, #88

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cname-collision/t/dns-unitbase.sql

    r976 r984  
    6576572       example.org     1               1       2025121800      D       f       ac
    6586583       example.net     1               1       2025121800      D       f       ab
    659 4       expiry1.test    1               1       2026010702      D       t       
     6594       expiry1.test    1               1       2026011400      D       t       
    660660\.
    661661
     
    76476457      4       1       1       admin   Initial User    Added record 'expired2.expiry1.test TXT imma expire soon', TTL 5400, expires at 2026-01-10 07:00        2026-01-07 17:57:07.015962-05   0       0
    76576558      4       1       1       admin   Initial User    Added record 'active-after1.expiry1.test TXT not active yet', TTL 5400, valid after 2026-01-11 11:30    2026-01-07 18:12:57.491476-05   0       0
     76659      4       1       1       admin   Initial User    Added record 'active-after2.expiry1.test TXT I'm done waiting', TTL 5400, expires at 2025-12-31 14:00   2026-01-14 18:02:13.876839-05   0       0
    766767\.
    767768
     
    771772--
    772773
    773 SELECT pg_catalog.setval('public.log_log_id_seq', 58, true);
     774SELECT pg_catalog.setval('public.log_log_id_seq', 59, true);
    774775
    775776
     
    8618624       48      expired2.expiry1.test   16      imma expire soon        0       0       0       5400    \N      0               2026-01-10 07:00:00-05  t       t       \N
    8628634       49      active-after1.expiry1.test      16      not active yet  0       0       0       5400    \N      0               2026-01-11 11:30:00-05  f       t       \N
     8644       50      active-after2.expiry1.test      16      I'm done waiting        0       0       0       5400    \N      0               2025-12-31 14:00:00-05  f       t       \N
    863865\.
    864866
     
    868870--
    869871
    870 SELECT pg_catalog.setval('public.records_record_id_seq', 49, true);
     872SELECT pg_catalog.setval('public.records_record_id_seq', 50, true);
    871873
    872874
Note: See TracChangeset for help on using the changeset viewer.