[master] 464dad5eb Split out dns-dependent test

Nils Goroll nils.goroll at uplex.de
Tue Nov 23 12:31:07 UTC 2021


commit 464dad5ebfb787d4723a20b6cbf51c0a5a7ce12b
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Oct 29 16:58:57 2021 +0200

    Split out dns-dependent test
    
    Conflicts:
            bin/varnishtest/tests/v00022.vtc

diff --git a/bin/varnishtest/tests/v00016.vtc b/bin/varnishtest/tests/v00016.vtc
index f4421a166..8a8dc1cf3 100644
--- a/bin/varnishtest/tests/v00016.vtc
+++ b/bin/varnishtest/tests/v00016.vtc
@@ -1,7 +1,5 @@
 varnishtest "Various VCL compiler coverage tests"
 
-feature dns
-
 shell "true > ${tmpdir}/_varnishtest_empty_file"
 
 varnish v1 -vcl {
@@ -82,13 +80,6 @@ varnish v1 -errvcl {Regexp compilation error:} {
 	}
 }
 
-varnish v1 -errvcl {resolves to too many addresses} {
-	backend b { .host = "${localhost}"; }
-	sub vcl_recv {
-		if (remote.ip == "dns-canary-multi.varnish-cache.org") {}
-	}
-}
-
 varnish v1 -errvcl {Expression has type directors.shard, expected ACL} {
 	import directors;
 	backend b { .host = "${localhost}"; }
diff --git a/bin/varnishtest/tests/v00022.vtc b/bin/varnishtest/tests/v00022.vtc
new file mode 100644
index 000000000..fcb8014da
--- /dev/null
+++ b/bin/varnishtest/tests/v00022.vtc
@@ -0,0 +1,10 @@
+varnishtest "Various VCL compiler coverage tests - DNS dependent"
+
+feature dns
+
+varnish v1 -errvcl {resolves to too many addresses} {
+	backend b { .host = "${localhost}"; }
+	sub vcl_recv {
+		if (remote.ip == "dns-canary-multi.varnish-cache.org") {}
+	}
+}


More information about the varnish-commit mailing list