[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/361: gnu: java-testng: Disable one test.
From: |
guix-commits |
Subject: |
40/361: gnu: java-testng: Disable one test. |
Date: |
Thu, 21 Nov 2024 06:28:44 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit bc722d4d6e13d659a52c7e5a2eb9545da131396d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Feb 28 19:26:49 2024 +0100
gnu: java-testng: Disable one test.
* gnu/packages/java.scm (java-testng)[arguments]: Disable parallel
DataProviderTest; remove trailing #T; do not quote list.
Change-Id: I17847b48ddae10e8d75de4b16a5e03eb538eb418
---
gnu/packages/java.scm | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 66f7367a9c..118f055970 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -11036,33 +11036,35 @@ those in Perl and JavaScript.")
"0y6vq30i5g276kw0v2bhbvci22ijg7ax49ap2611yqlhbs4d6dqv"))))
(build-system ant-build-system)
(arguments
- `(#:jdk ,icedtea-8; java.util.function
- #:jar-name "java-testng.jar"
- #:source-dir "src/main/java"
- #:phases
- (modify-phases %standard-phases
- ;; FIXME: I don't know why these tests fail
+ (list
+ #:jdk icedtea-8; java.util.function
+ #:jar-name "java-testng.jar"
+ #:source-dir "src/main/java"
+ #:phases
+ '(modify-phases %standard-phases
(add-after 'unpack 'delete-failing-tests
(lambda _
+ ;; FIXME: I don't know why these tests fail
(substitute* "src/test/resources/testng.xml"
+ ;; expected:<[0]> but was:<[3]>
(("<class
name=\"test.configuration.github1625.TestRunnerIssue1625\"/>") "")
- (("<class name=\"test.serviceloader.ServiceLoaderTest\" />")
""))
- #t))
+ ;; expected [3] but found [2]
+ (("<class name=\"test.serviceloader.ServiceLoaderTest\" />") "")
+ ;; This is a parallel test and we've observed that it fails
+ ;; sometimes.
+ (("<class name=\"test.dataprovider.DataProviderTest\"/>") ""))))
;; We don't have groovy
(add-after 'unpack 'delete-groovy-tests
(lambda _
(delete-file-recursively
"src/test/java/test/dependent/issue1648/")
(substitute* "src/test/resources/testng.xml"
- (("<class name=\"test.dependent.issue1648.TestRunner\"/>") ""))
- #t))
+ (("<class name=\"test.dependent.issue1648.TestRunner\"/>")
""))))
(add-before 'build 'copy-resources
(lambda _
- (copy-recursively "src/main/resources" "build/classes")
- #t))
+ (copy-recursively "src/main/resources" "build/classes")))
(add-before 'check 'copy-test-resources
(lambda _
- (copy-recursively "src/test/resources" "build/test-classes")
- #t))
+ (copy-recursively "src/test/resources" "build/test-classes")))
(replace 'check
(lambda _
(invoke "ant" "compile-tests")
- 18/361: gnu: python-typing-extensions: Update to 4.10.0., (continued)
- 18/361: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/11/21
- 02/361: gnu: python-imagesize: Update to 1.4.1., guix-commits, 2024/11/21
- 06/361: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/11/21
- 09/361: guix: toml: Add TOML parser., guix-commits, 2024/11/21
- 16/361: gnu: Add missing import (again)., guix-commits, 2024/11/21
- 21/361: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/11/21
- 22/361: gnu: python-mdit-py-plugins: Update to 0.4.0., guix-commits, 2024/11/21
- 24/361: gnu: python-jupytext: Update to 1.15.0., guix-commits, 2024/11/21
- 25/361: gnu: python-textual: Update to 0.50.1., guix-commits, 2024/11/21
- 35/361: gnu: python-packaging-bootstrap: Update to 23.2., guix-commits, 2024/11/21
- 40/361: gnu: java-testng: Disable one test.,
guix-commits <=
- 11/361: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/11/21
- 13/361: doc: Document new options for pyproject-build-system., guix-commits, 2024/11/21
- 17/361: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/11/21
- 23/361: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/11/21
- 14/361: gnu: Add python-setuptools/python-wheel where necessary., guix-commits, 2024/11/21
- 30/361: gnu: python-traitlets: Update to 5.14.1., guix-commits, 2024/11/21
- 47/361: gnu: python-vine: Add missing inputs., guix-commits, 2024/11/21
- 26/361: gnu: python-myst-parser: Relax some requirements., guix-commits, 2024/11/21
- 43/361: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/11/21
- 08/361: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/11/21