This is an automated email from the git hooks/post-receive script.

sharlatan pushed a commit to branch go-team
in repository guix.

The following commit(s) were added to refs/heads/go-team by this push:
     new 190c0abec8 gnu: go-github-com-avast-retry-go: Disable failing test.
190c0abec8 is described below

commit 190c0abec86ae2d007330ed226033413997c1004
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Jul 27 18:49:32 2024 +0100

    gnu: go-github-com-avast-retry-go: Disable failing test.
    
    Disable one failing test as seen in
    <https://ci.guix.gnu.org/build/5268812/details>.
    
    * gnu/packages/golang-xyz.scm (go-github-com-avast-retry-go)
    [arguments]: <#:phases>: Add 'disable-failing-tests phase.
    
    Change-Id: I95af4f01f254d5229c84754626502d768c730c39
---
 gnu/packages/golang-xyz.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 144941c31b..d8fa82d4c1 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -844,6 +844,11 @@ stored in a Go struct.")
       #:import-path "github.com/avast/retry-go"
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'disable-failing-tests
+            (lambda* (#:key tests? import-path #:allow-other-keys)
+              (with-directory-excursion (string-append "src/" import-path)
+                (substitute* (find-files "." "\\_test.go$")
+                  (("TestMaxDelay") "OffTestMaxDelay")))))
           (add-after 'unpack 'remove-examples
             (lambda* (#:key import-path #:allow-other-keys)
               (delete-file-recursively

Reply via email to