Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected], 
[email protected]
Control: affects -1 + src:golang-github-hashicorp-golang-lru-v2
User: [email protected]
Usertags: pu

[ Reason ]
Package FTBFS in some environments (for example, but not only, single-cpu 
systems).

[ Impact ]
Somebody who builds the package from source may find that the package does not 
build
for no good reason.

[ Tests ]
I've checked that after disabling the flaky test, the package builds ok on the 
systems
where it used to fail.

[ Risks ]
Very low. No real code changes, as we are just disabling a test. The test has 
been
implicitly acknowledged by upstream to be flaky, but no official fix has been 
merged yet.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
Disable flaky test TestLoadingExpired.

[ Other info ]
Change is trivial so I will upload after sending this report.
diff -Nru golang-github-hashicorp-golang-lru-v2-2.0.7/debian/changelog 
golang-github-hashicorp-golang-lru-v2-2.0.7/debian/changelog
--- golang-github-hashicorp-golang-lru-v2-2.0.7/debian/changelog        
2024-04-10 10:13:52.000000000 +0200
+++ golang-github-hashicorp-golang-lru-v2-2.0.7/debian/changelog        
2026-09-28 20:10:00.000000000 +0200
@@ -1,3 +1,10 @@
+golang-github-hashicorp-golang-lru-v2 (2.0.7-2+deb13u1) trixie; urgency=medium
+
+  * Team upload.
+  * Disable flaky TestLoadingExpired.
+
+ -- Santiago Vila <[email protected]>  Mon, 28 Sep 2026 20:10:00 +0200
+
 golang-github-hashicorp-golang-lru-v2 (2.0.7-2) unstable; urgency=medium
 
   * Disable flaky ExampleLRU test
diff -Nru 
golang-github-hashicorp-golang-lru-v2-2.0.7/debian/patches/disable-flaky-TestLoadingExpired.patch
 
golang-github-hashicorp-golang-lru-v2-2.0.7/debian/patches/disable-flaky-TestLoadingExpired.patch
--- 
golang-github-hashicorp-golang-lru-v2-2.0.7/debian/patches/disable-flaky-TestLoadingExpired.patch
   1970-01-01 01:00:00.000000000 +0100
+++ 
golang-github-hashicorp-golang-lru-v2-2.0.7/debian/patches/disable-flaky-TestLoadingExpired.patch
   2026-09-28 18:02:00.000000000 +0200
@@ -0,0 +1,14 @@
+From: Santiago Vila <[email protected]>
+Subject: Disable flaky TestLoadingExpired
+Bug: https://github.com/hashicorp/golang-lru/issues/236
+
+--- a/expirable/expirable_lru_test.go
++++ b/expirable/expirable_lru_test.go
+@@ -367,6 +367,7 @@
+ }
+ 
+ func TestLoadingExpired(t *testing.T) {
++      t.Skip("flaky")
+       lc := NewLRU[string, string](0, nil, time.Millisecond*5)
+ 
+       lc.Add("key1", "val1")
diff -Nru golang-github-hashicorp-golang-lru-v2-2.0.7/debian/patches/series 
golang-github-hashicorp-golang-lru-v2-2.0.7/debian/patches/series
--- golang-github-hashicorp-golang-lru-v2-2.0.7/debian/patches/series   
2024-04-10 10:13:52.000000000 +0200
+++ golang-github-hashicorp-golang-lru-v2-2.0.7/debian/patches/series   
2026-09-28 18:00:00.000000000 +0200
@@ -1 +1,2 @@
 0001-Disable-flaky-ExampleLRU-test.patch
+disable-flaky-TestLoadingExpired.patch

Reply via email to