]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Speed up the `catz` system test
authorTony Finch <fanf@isc.org>
Wed, 7 Sep 2022 16:57:58 +0000 (17:57 +0100)
committerTony Finch <fanf@isc.org>
Mon, 12 Sep 2022 10:30:09 +0000 (11:30 +0100)
Do not delay sending NOFIFY messages, and allow catalog zones to
update every second instead of every 5 seconds.

bin/tests/system/catz/ns1/named.conf.in
bin/tests/system/catz/ns2/named1.conf.in
bin/tests/system/catz/ns2/named2.conf.in
bin/tests/system/catz/ns3/named.conf.in

index e5d688cf516b118f391284648f43bef27a14c7f3..e1ec120d60306d9c6e16ae8493d09c36adb4895b 100644 (file)
@@ -28,6 +28,7 @@ options {
        listen-on port @EXTRAPORT1@ { 10.53.0.1; };
        listen-on-v6 { none; };
        notify no;
+       notify-delay 0;
        recursion no;
        allow-transfer { any; };
 };
index ba21963625ec533e9d290fa322b564f5e949a1a1..002b22cefed03a53c7b6e32ff7f83ae9e6f48047 100644 (file)
@@ -26,6 +26,7 @@ options {
        listen-on { 10.53.0.2; };
        listen-on-v6 { fd92:7065:b8e:ffff::2; };
        notify no;
+       notify-delay 0;
        recursion no;
        serial-query-rate 100;
 };
@@ -41,29 +42,38 @@ view "default" {
        catalog-zones {
                zone "catalog1.example"
                        default-masters { 10.53.0.1; }
+                       min-update-interval 1s
                        in-memory no
                        zone-directory "zonedir";
                zone "catalog2.example"
                        default-primaries { 10.53.0.1 port @EXTRAPORT1@; }
+                       min-update-interval 1s
                        in-memory yes;
                zone "catalog3.example"
                        default-masters { 10.53.0.1; }
+                       min-update-interval 1s
                        zone-directory "nonexistent";
 #T1            zone "catalog4.example"
+#T1                    min-update-interval 1s
 #T1                    default-masters { 10.53.0.1; };
 #T2            zone "catalog5.example"
+#T2                    min-update-interval 1s
 #T2                    default-primaries { 10.53.0.1; };
                zone "catalog-bad1.example"
                        default-masters { 10.53.0.1; }
+                       min-update-interval 1s
                        in-memory yes;
                zone "catalog-bad2.example"
                        default-masters { 10.53.0.1; }
+                       min-update-interval 1s
                        in-memory yes;
                zone "catalog-bad3.example"
                        default-masters { 10.53.0.1; }
+                       min-update-interval 1s
                        in-memory yes;
                zone "catalog-bad4.example"
                        default-masters { 10.53.0.1; }
+                       min-update-interval 1s
                        in-memory yes;
        };
 
index cd5f2b97c7f7c3f5d102ed9bb2eed7c7a1ab0790..d8fbe08e15dabd44966bd6dd7c5af2b5b3699c99 100644 (file)
@@ -26,6 +26,7 @@ options {
        listen-on { 10.53.0.2; };
        listen-on-v6 { fd92:7065:b8e:ffff::2; };
        notify no;
+       notify-delay 0;
        recursion no;
        serial-query-rate 100;
 };
index 7e6a8aefe3eba6f98aedd1bb5ca8e51d1618488f..bb2121ad1ad2edc807d83417481829ef21d41fb1 100644 (file)
@@ -28,6 +28,7 @@ options {
        listen-on { 10.53.0.3; };
        listen-on-v6 { fd92:7065:b8e:ffff::3; };
        notify no;
+       notify-delay 0;
        recursion no;
 };