[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/420: gnu: java-testng: Disable one test.
From: |
guix-commits |
Subject: |
40/420: gnu: java-testng: Disable one test. |
Date: |
Tue, 26 Nov 2024 16:28:27 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit bfed40386a0cccc8a541eacb5b30366817f481f2
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")
- 64/420: gnu: Add python-pep440., (continued)
- 64/420: gnu: Add python-pep440., guix-commits, 2024/11/26
- 70/420: gnu: Add python-fqdn., guix-commits, 2024/11/26
- 73/420: gnu: Add python-pytest-jupyter., guix-commits, 2024/11/26
- 77/420: gnu: python-jedi: Update to 0.19.1., guix-commits, 2024/11/26
- 72/420: gnu: Add python-hatch-jupyter-builder., guix-commits, 2024/11/26
- 84/420: gnu: python-jupyter-kernel-mgmt: Use Tornado 6., guix-commits, 2024/11/26
- 85/420: gnu: python-pyzmq: Use Tornado 6., guix-commits, 2024/11/26
- 36/420: gnu: python-readme-renderer: Adjust package style., guix-commits, 2024/11/26
- 86/420: gnu: python-jupyter-core: Update to 5.7.2., guix-commits, 2024/11/26
- 46/420: gnu: python-mysqlclient: Add missing inputs., guix-commits, 2024/11/26
- 40/420: gnu: java-testng: Disable one test.,
guix-commits <=
- 66/420: gnu: Add python-jsonschema-specifications., guix-commits, 2024/11/26
- 92/420: gnu: python-jupyter-client: Update to 7.4.4., guix-commits, 2024/11/26
- 93/420: gnu: python-json-logger: Update to 2.0.7., guix-commits, 2024/11/26
- 96/420: gnu: Add python-jupyter-events., guix-commits, 2024/11/26
- 78/420: gnu: python-send2trash: Update to 1.8.2., guix-commits, 2024/11/26
- 97/420: gnu: Add python-jupyter-server-terminals., guix-commits, 2024/11/26
- 99/420: gnu: python-jupyter-server-mathjax: Update to 0.2.6., guix-commits, 2024/11/26
- 108/420: gnu: python-openapi-spec-validator: Update to 0.7.1., guix-commits, 2024/11/26
- 109/420: gnu: python-cattrs: Update to 23.2.3., guix-commits, 2024/11/26
- 113/420: gnu: python-jupyterlab-server: Update to 2.27.1., guix-commits, 2024/11/26