]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
TLS DNS unit tests: do not share the port with TCP DNS tests
authorArtem Boldariev <artem@boldariev.com>
Wed, 26 Oct 2022 12:41:30 +0000 (15:41 +0300)
committerArtem Boldariev <artem@boldariev.com>
Tue, 1 Nov 2022 12:42:08 +0000 (14:42 +0200)
TLS DNS unit tests were sharing the port with TCP DNS tests by
mistake. That could have caused conflicts between the two, when
running the unit tests in parallel. This commit fixes that.

tests/isc/tlsdns_test.c

index 61b7fca51fc29107b7f7a69758347e27aaf0886f..a8de6bce4aa474adc4f43b6007bf24ba9f65809d 100644 (file)
@@ -150,7 +150,7 @@ ISC_TEST_LIST_END
 
 static int
 tlsdns_setup(void **state __attribute__((__unused__))) {
-       stream_port = TCPDNS_TEST_PORT;
+       stream_port = TLSDNS_TEST_PORT;
 
        return (0);
 }