]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
distro/tests: check kres-cache-gc is started
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 1 Jul 2019 16:08:40 +0000 (18:08 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Wed, 10 Jul 2019 13:59:24 +0000 (15:59 +0200)
distro/tests/ansible-roles/knot_resolver/tasks/main.yaml
distro/tests/ansible-roles/knot_resolver/tasks/test_kres_cache_gc.yaml [new file with mode: 0644]

index 4de7e788c3a26fc83c0ca07f1f9a177c32cb297d..e35fb1ec269509fb27591c80e9498bc9c37dc931 100644 (file)
@@ -23,6 +23,8 @@
     - include: test_tls.yaml
     - include: test_dnssec.yaml
 
+    - include: test_kres_cache_gc.yaml
+
     - name: Test DoH
       block:
         - name: Install knot-resolver-module-http
diff --git a/distro/tests/ansible-roles/knot_resolver/tasks/test_kres_cache_gc.yaml b/distro/tests/ansible-roles/knot_resolver/tasks/test_kres_cache_gc.yaml
new file mode 100644 (file)
index 0000000..1ad0bf9
--- /dev/null
@@ -0,0 +1,3 @@
+---
+- name: check kres-cache-gc.service is active
+  shell: systemctl is-active -q kres-cache-gc.service