[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
145/227: gnu: mariadb: Only run the main test suite to avoid flaky tests
From: |
guix-commits |
Subject: |
145/227: gnu: mariadb: Only run the main test suite to avoid flaky tests. |
Date: |
Thu, 11 Nov 2021 12:30:28 -0500 (EST) |
apteryx pushed a commit to branch core-updates-frozen
in repository guix.
commit fdae245a753d77a8266764fdcc8e11434a57d046
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 505d5c2..7bcc014 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)))
- 156/227: gnu: python-six-bootstrap: Update to 1.16.0., (continued)
- 156/227: gnu: python-six-bootstrap: Update to 1.16.0., guix-commits, 2021/11/11
- 159/227: gnu: gstreamer: Disable the pipelines-seek test., guix-commits, 2021/11/11
- 164/227: gnu: gdb: Update to 11.1 and remove gdb-9.2., guix-commits, 2021/11/11
- 169/227: gnu: Add meson-0.59., guix-commits, 2021/11/11
- 175/227: gnu: xorgproto: Update to 2021.5., guix-commits, 2021/11/11
- 185/227: gnu: emacs-elpy: Update to 1.35.0-0.8d0de31., guix-commits, 2021/11/11
- 192/227: gnu: python-docker: Update to 5.0.3 and remove obsolete package variants., guix-commits, 2021/11/11
- 191/227: gnu: python-requests: Update to 2.26.0., guix-commits, 2021/11/11
- 140/227: gnu: gtk: Replace gdk-pixbuf+svg by librsvg., guix-commits, 2021/11/11
- 142/227: gnu: gawk: Use regular bash to cope with test suite failures., guix-commits, 2021/11/11
- 145/227: gnu: mariadb: Only run the main test suite to avoid flaky tests.,
guix-commits <=
- 149/227: gnu: meson: Update to 0.60.0., guix-commits, 2021/11/11
- 160/227: gnu: mesa: Replace obsolete vulkan-overlay-layer build option., guix-commits, 2021/11/11
- 165/227: gnu: ldc: Update to 1.27.1., guix-commits, 2021/11/11
- 168/227: gnu: Add cling., guix-commits, 2021/11/11
- 170/227: gnu: gtkmm-3: Update to 3.24.5., guix-commits, 2021/11/11
- 173/227: gnu: tracker: Use libsoup-minimal-2 to fix build., guix-commits, 2021/11/11
- 174/227: gnu: xkeyboard-config: Update to 2.34., guix-commits, 2021/11/11
- 184/227: gnu: jami-gnome: Fix build with webkitgtk 2.34.1., guix-commits, 2021/11/11
- 190/227: gnu: Remove references to a removed patch., guix-commits, 2021/11/11
- 189/227: gnu: gnome-online-accounts: Update to 3.43.1., guix-commits, 2021/11/11