[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
145/201: gnu: mariadb: Only run the main test suite to avoid flaky tests
From: |
guix-commits |
Subject: |
145/201: gnu: mariadb: Only run the main test suite to avoid flaky tests. |
Date: |
Mon, 1 Nov 2021 23:19:03 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 3e648b7ea8793345a15fc03308c4f316498def7c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Oct 20 22:24:09 2021 -0400
gnu: mariadb: Only run the main test suite to avoid flaky tests.
Tests from the perfschema test suite has a high failure rate. Upstream only
tests the main test suite in their CI, so don't try to outdo them.
* gnu/packages/databases.scm (mariadb): Delete trailing #t.
[phases]{check}: Only run the main test suite.
---
gnu/packages/databases.scm | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 1849eca..c4707a5 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -775,8 +775,7 @@ Language.")
(unless (string-suffix? "CMakeLists.txt" file)
(delete-file file)))
(append (find-files "extra/wolfssl")
- (find-files "zlib")))
- #t))))
+ (find-files "zlib")))))))
(build-system cmake-build-system)
(outputs '("out" "lib" "dev"))
(arguments
@@ -862,8 +861,7 @@ Language.")
"${INSTALL_INCLUDEDIR}"))
(substitute* "cmake/mariadb_connector_c.cmake"
(("\\\\\\$\\{CMAKE_INSTALL_PREFIX\\}/\\$\\{INSTALL_BINDIR\\}")
- "${INSTALL_BINDIR}"))
- #t))
+ "${INSTALL_BINDIR}"))))
(add-after 'unpack 'adjust-tests
(lambda _
(let ((disabled-tests
@@ -912,8 +910,7 @@ Language.")
(substitute* "mysql-test/mysql-test-run.pl"
(("/bin/ls") (which "ls"))
- (("/bin/sh") (which "sh")))
- #t)))
+ (("/bin/sh") (which "sh"))))))
(add-before 'configure 'disable-plugins
(lambda _
(let ((disable-plugin (lambda (name)
@@ -924,14 +921,14 @@ Language.")
(format port "\n")))))
(disabled-plugins '(;; XXX: Causes a test failure.
"disks")))
- (for-each disable-plugin disabled-plugins)
- #t)))
+ (for-each disable-plugin disabled-plugins))))
(replace 'check
(lambda* (#:key (tests? #t) parallel-tests? #:allow-other-keys)
(if tests?
(with-directory-excursion "mysql-test"
(invoke "./mtr" "--verbose"
"--retry=3"
+ "--suite=main"
"--testcase-timeout=40"
"--suite-timeout=600"
"--parallel" (number->string (if parallel-tests?
@@ -942,8 +939,7 @@ Language.")
;; failures even on powerful hardware.
"--skip-rpl"
"--skip-test-list=unstable-tests"))
- (format #t "test suite not run~%"))
- #t))
+ (format #t "test suite not run~%"))))
(add-after
'install 'post-install
(lambda* (#:key inputs outputs #:allow-other-keys)
@@ -988,9 +984,7 @@ Language.")
(substitute* (list (string-append dev "/bin/mysql_config")
(string-append dev
"/lib/pkgconfig/mariadb.pc"))
(("-lssl -lcrypto" all)
- (string-append "-L" openssl "/lib " all)))
-
- #t))))))
+ (string-append "-L" openssl "/lib " all)))))))))
(native-inputs
`(("bison" ,bison)
("perl" ,perl)))
- 138/201: profiles: Add a gdk-pixbuf-loaders-cache-file hook., (continued)
- 138/201: profiles: Add a gdk-pixbuf-loaders-cache-file hook., guix-commits, 2021/11/01
- 156/201: gnu: python-six-bootstrap: Update to 1.16.0., guix-commits, 2021/11/01
- 160/201: gnu: mesa: Replace obsolete vulkan-overlay-layer build option., guix-commits, 2021/11/01
- 192/201: gnu: Add python-dotenv., guix-commits, 2021/11/01
- 198/201: gnu: ansible: Update to 4.7.0., guix-commits, 2021/11/01
- 179/201: gnu: Add polkit-duktape., guix-commits, 2021/11/01
- 61/201: gnu: gst-plugins-base: Update to 1.18.5., guix-commits, 2021/11/01
- 72/201: gnu: libnice: Update to 0.1.18-0.47a9633 and disable test-bind test., guix-commits, 2021/11/01
- 121/201: gnu: util-linux: Globally disable the lsns test., guix-commits, 2021/11/01
- 134/201: gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper., guix-commits, 2021/11/01
- 145/201: gnu: mariadb: Only run the main test suite to avoid flaky tests.,
guix-commits <=
- 142/201: gnu: gawk: Use regular bash to cope with test suite failures., guix-commits, 2021/11/01
- 150/201: gnu: curl: Update to 7.79.1., guix-commits, 2021/11/01
- 152/201: gnu: python-dbus: Update to 1.2.18., guix-commits, 2021/11/01
- 164/201: gnu: gdb: Update to 11.1 and remove gdb-9.2., guix-commits, 2021/11/01
- 167/201: gnu: python-lit: Update to 12.0.1., guix-commits, 2021/11/01
- 175/201: gnu: xorgproto: Update to 2021.5., guix-commits, 2021/11/01
- 174/201: gnu: xkeyboard-config: Update to 2.34., guix-commits, 2021/11/01
- 178/201: gnu: duktape: Install a pkg-config file., guix-commits, 2021/11/01
- 119/201: gnu: openssl: Absorb 1.1.1l graft., guix-commits, 2021/11/01
- 147/201: gnu: nss: Update to 3.71., guix-commits, 2021/11/01