debian/patches/disable-flaky-TestLoadingExpired.patch
raw| 1 | From: Santiago Vila <[email protected]> |
| 2 | Subject: Disable flaky TestLoadingExpired |
| 3 | Bug: https://github.com/hashicorp/golang-lru/issues/236 |
| 4 | |
| 5 | --- a/expirable/expirable_lru_test.go |
| 6 | +++ b/expirable/expirable_lru_test.go |
| 7 | @@ -367,6 +367,7 @@ |
| 8 | } |
| 9 | |
| 10 | func TestLoadingExpired(t *testing.T) { |
| 11 | + t.Skip("flaky") |
| 12 | lc := NewLRU[string, string](0, nil, time.Millisecond*5) |
| 13 | |
| 14 | lc.Add("key1", "val1") |