2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-31 14:25:30 +00:00

Slightly reduce long txt record test size (#951)

The BLOB type is juuuust too small for the previous value. Reduce the
number of characters by two -- the purpose of the test is still being
fulfilled. A migration to MEDIUMBLOB or LARGEBLOB will be required if we
need this to be bigger.
This commit is contained in:
Peter Cline
2020-06-09 14:45:47 -05:00
committed by GitHub
parent 9fda7b178b
commit ccaf58bc92

View File

@@ -1644,7 +1644,7 @@ def test_create_long_txt_record_succeeds(shared_zone_test_context):
client = shared_zone_test_context.ok_vinyldns_client
zone = shared_zone_test_context.system_test_zone
record_data = 'a' * 64763
record_data = 'a' * 64761
long_txt_rs = get_recordset_json(zone, 'long-txt-record', 'TXT', [{'text': record_data}])
try: