[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
145/217: gnu: mariadb: Only run the main test suite to avoid flaky tests
From: |
guix-commits |
Subject: |
145/217: gnu: mariadb: Only run the main test suite to avoid flaky tests. |
Date: |
Sun, 14 Nov 2021 19:21:07 -0500 (EST) |
vagrantc 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)))
- 111/217: gnu: colord-minimal: Introduce minimal variant., (continued)
- 111/217: gnu: colord-minimal: Introduce minimal variant., guix-commits, 2021/11/14
- 116/217: gnu: mesa: Update to 21.2.4., guix-commits, 2021/11/14
- 128/217: gnu: libsoup: Reverse inheritance relationship with libsoup-minimal., guix-commits, 2021/11/14
- 132/217: gnu: webkitgtk: Add a debug output., guix-commits, 2021/11/14
- 129/217: gnu: libsoup: Update to 3.0.1., guix-commits, 2021/11/14
- 130/217: gnu: webkitgtk: Use libsoup 3 and build with GCC., guix-commits, 2021/11/14
- 131/217: gnu: pulseaudio: Add doxygen to fix build., guix-commits, 2021/11/14
- 134/217: gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper., guix-commits, 2021/11/14
- 139/217: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/11/14
- 147/217: gnu: nss: Update to 3.71., guix-commits, 2021/11/14
- 145/217: gnu: mariadb: Only run the main test suite to avoid flaky tests.,
guix-commits <=
- 151/217: gnu: python-hypothesis: Update to 6.23.4., guix-commits, 2021/11/14
- 153/217: gnu: boost: Update to 1.77.0., guix-commits, 2021/11/14
- 156/217: gnu: python-six-bootstrap: Update to 1.16.0., guix-commits, 2021/11/14
- 161/217: gnu: mesa: Enable support for OpenGL ES 1.1 and 2.0., guix-commits, 2021/11/14
- 165/217: gnu: ldc: Update to 1.27.1., guix-commits, 2021/11/14
- 173/217: gnu: tracker: Use libsoup-minimal-2 to fix build., guix-commits, 2021/11/14
- 176/217: gnu: Add libxcvt., guix-commits, 2021/11/14
- 174/217: gnu: xkeyboard-config: Update to 2.34., guix-commits, 2021/11/14
- 188/217: gnu: gnome-online-accounts: Update to 3.43.1., guix-commits, 2021/11/14
- 185/217: gnu: uhttpmock: Use libsoup 2., guix-commits, 2021/11/14