]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Make some TLS tests actually use quota
authorArtem Boldariev <artem@boldariev.com>
Fri, 30 Apr 2021 13:06:09 +0000 (16:06 +0300)
committerArtem Boldariev <artem@boldariev.com>
Fri, 7 May 2021 12:47:24 +0000 (15:47 +0300)
A directive to check quota was missing from some of the TLS tests
which were supposed to test TLS code with quotas.

lib/isc/tests/netmgr_test.c

index f167e7433f021eb8ca240e8732de94ec9c7060ab..d062dbb79974ff8d690eaa254046aabf564bc0fe 100644 (file)
@@ -2275,6 +2275,7 @@ static void
 tls_half_recv_send_quota(void **state) {
        SKIP_IN_CI;
        stream_use_TLS = true;
+       atomic_store(&check_listener_quota, true);
        stream_half_recv_send(state);
 }
 
@@ -2282,6 +2283,7 @@ static void
 tls_half_recv_half_send_quota(void **state) {
        SKIP_IN_CI;
        stream_use_TLS = true;
+       atomic_store(&check_listener_quota, true);
        stream_half_recv_half_send(state);
 }