]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: treat config.ta_update test as a special snowflake
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 18 Apr 2019 12:29:23 +0000 (14:29 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 18 Apr 2019 15:09:57 +0000 (17:09 +0200)
config.ta_update test doesn't play along with others and wants all of
the runner's attention to itself, otherwise it throws a tantrum.

.gitlab-ci.yml
modules/meson.build

index 511b81289d55a27b1d7399584445f34e90a5e460..cdec810f620c7f7d983325527a0f68e77d7867b2 100644 (file)
@@ -302,11 +302,11 @@ root.hints:
     - scripts/update-root-hints.sh
 
 test:valgrind:
-  <<: *test_flaky  # lost block in /bin/bash during ta_update
   when: delayed
   start_in: '30 seconds'
   script:
-    - ${MESON_TEST} --suite unit --suite config --wrap="valgrind --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp"
+    - ${MESON_TEST} --suite unit --suite config --no-suite snowflake --wrap="valgrind --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp"
+    - MESON_TESTTHREADS=1 ${MESON_TEST} --wrap="valgrind --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp" --suite snowflake
 # }}}
 
 # extended {{{
index 5df7fedd8ca0419ae5936139ea822b084baeffac..3ae4b56de92e1373cc42ce2a9907a05a729c3bde 100644 (file)
@@ -23,7 +23,7 @@ config_tests += [
   ['hints', files('hints/tests/hints.test.lua')],
   ['nsid', files('nsid/nsid.test.lua')],
   ['dns64', files('dns64/dns64.test.lua')],
-  ['ta_update', files('ta_update/ta_update.test.lua')],
+  ['ta_update', files('ta_update/ta_update.test.lua'), ['snowflake']],
 ]
 
 integr_tests += [