all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 70693@debbugs.gnu.org
Subject: [bug#70693] [PATCH] gnu: nss/fixed: Tweak performance test.
Date: Wed,  1 May 2024 10:41:45 +0100	[thread overview]
Message-ID: <26a7162056587eb3c5855e6d35e70c15b9fb72cc.1714556505.git.mail@cbaines.net> (raw)

As I'm seeing this test fail with results of 5 to 7 seconds.

* gnu/packages/nss.scm (nss/fixed)[arguments]: Tweak a test to have a higher
time threshold.

Change-Id: Icb0551cd986acf67b2ba17dc8772a67b9747d31a
---
 gnu/packages/nss.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 162e748094..60bc4d52de 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -280,6 +280,14 @@ (define-public nss/fixed
                          (setenv "USE_IP" "TRUE")
                          (setenv "IP_ADDRESS" "127.0.0.1")
 
+                         ;; This specific test is looking at performance "now
+                         ;; verify that we can quickly dump a database", and
+                         ;; we're not testing performance here (especially
+                         ;; since we're using faketime), so raise the
+                         ;; threshold
+                         (substitute* "tests/dbtests/dbtests.sh"
+                           ((" -lt 5") " -lt 50"))
+
                          ;; The "PayPalEE.cert" certificate expires every six months,
                          ;; leading to test failures:
                          ;; <https://bugzilla.mozilla.org/show_bug.cgi?id=609734>.  To

base-commit: 7d4ae2fca723114fb1df56de33b82177fbc4d0a6
-- 
2.41.0





             reply	other threads:[~2024-05-01  9:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-01  9:41 Christopher Baines [this message]
2024-05-01  9:51 ` [bug#70693] [PATCH v2] gnu: nss/fixed: Tweak performance test Christopher Baines
2024-05-01 16:32   ` Maxim Cournoyer
2024-05-02  8:16     ` Ludovic Courtès
2024-05-07 19:53       ` Christopher Baines
2024-05-09 14:13         ` Ludovic Courtès
2024-05-09 14:52           ` Christopher Baines
2024-05-07 19:45 ` [bug#70693] [PATCH v2 1/3] " Christopher Baines
2024-05-07 19:45   ` [bug#70693] [PATCH v2 2/3] gnu: Add po4a-minimal Christopher Baines
2024-05-09 14:11     ` Ludovic Courtès
2024-05-09 14:36       ` Christopher Baines
2024-05-07 19:45   ` [bug#70693] [PATCH v2 3/3] Use po4a-minimal for guix Christopher Baines
2024-05-09 14:09     ` Ludovic Courtès
2024-05-09 14:35 ` [bug#70693] [PATCH v3 1/3] gnu: nss/fixed: Tweak performance test Christopher Baines
2024-05-09 14:35   ` [bug#70693] [PATCH v3 2/3] gnu: Add po4a-minimal Christopher Baines
2024-05-09 14:35   ` [bug#70693] [PATCH v3 3/3] Use po4a-minimal for guix Christopher Baines
2024-05-13  8:58   ` [bug#70693] [PATCH v3 1/3] gnu: nss/fixed: Tweak performance test Ludovic Courtès
2024-05-13 12:44     ` bug#70693: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26a7162056587eb3c5855e6d35e70c15b9fb72cc.1714556505.git.mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=70693@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.