[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
145/203: gnu: mariadb: Only run the main test suite to avoid flaky tests
From: |
guix-commits |
Subject: |
145/203: gnu: mariadb: Only run the main test suite to avoid flaky tests. |
Date: |
Wed, 3 Nov 2021 21:10:25 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 5d2b51845a35e72d7163c28f0d1ca183a0258af5
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)))
- 106/203: gnu: at-spi2-atk: Break a dependency cycle between GTK+ and Inkscape., (continued)
- 106/203: gnu: at-spi2-atk: Break a dependency cycle between GTK+ and Inkscape., guix-commits, 2021/11/03
- 92/203: gnu: rust: Add rust 1.54 and move all non-bootstrapping logic to it., guix-commits, 2021/11/03
- 115/203: gnu: inkscape: Remove the legacy 0.92 version., guix-commits, 2021/11/03
- 123/203: gnu: pango: Update to 1.48.10., guix-commits, 2021/11/03
- 116/203: gnu: mesa: Update to 21.2.4., guix-commits, 2021/11/03
- 114/203: gnu: rest: Use libsoup-minimal., guix-commits, 2021/11/03
- 118/203: gnu: cmake-bootstrap: Update to 3.21.3., guix-commits, 2021/11/03
- 120/203: gnu: mit-krb5: Absorb 1.19.2 graft., guix-commits, 2021/11/03
- 126/203: gnu: glib-networking: Update to 2.70.rc., guix-commits, 2021/11/03
- 139/203: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/11/03
- 145/203: gnu: mariadb: Only run the main test suite to avoid flaky tests.,
guix-commits <=
- 132/203: gnu: webkitgtk: Add a debug output., guix-commits, 2021/11/03
- 144/203: gnu: cdparanoia: Disable parallel build., guix-commits, 2021/11/03
- 135/203: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper., guix-commits, 2021/11/03
- 157/203: gnu: python-dateutil: Update to 2.8.2., guix-commits, 2021/11/03
- 136/203: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase., guix-commits, 2021/11/03
- 161/203: gnu: mesa: Enable support for OpenGL ES 1.1 and 2.0., guix-commits, 2021/11/03
- 162/203: gnu: zxing-cpp: Update to 1.2.0-0.00783db., guix-commits, 2021/11/03
- 50/203: gnu: lib2geom: Update to 1.1., guix-commits, 2021/11/03
- 121/203: gnu: util-linux: Globally disable the lsns test., guix-commits, 2021/11/03
- 150/203: gnu: curl: Update to 7.79.1., guix-commits, 2021/11/03