Bug#1144204: golang-github-renekroon-ttlcache: keep out of forky and flaky test FTBFS: FAIL: TestCache_TestMetrics: cache_test.go:260: Not equal: expected: 4 actual: 2

Simon Josefsson <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <[email protected]>
Package: golang-github-renekroon-ttlcache
Version: 2.11.1+ds-2
Severity: serious

This package has no reverse dependencies in Debian and no upstream v2
release since 2022.  New consumers will hopefully use the v3 branch,
which should be packaged separately for Debian if there is a need.
Thus, I don't think forky should ship with this package.  We can keep it
unstable for some time if there is a need for it.

It currently has a flaky test FTBFS causing testing migration blocking.
This could be fixed, but I think the better fix is to keep it out of
testing in the first place.

https://ci.debian.net/packages/g/golang-github-renekroon-ttlcache/testing/amd64/74275118/#L893

 78s === NAME  TestCache_TestMetrics
 78s     cache_test.go:260: 
 78s         	Error Trace:	/tmp/autopkgtest.6m2D25/autopkgtest_tmp/obj-x86_64-linux-gnu/src/github.com/ReneKroon/ttlcache/cache_test.go:260
 78s         	Error:      	Not equal: 
 78s         	            	expected: 4
 78s         	            	actual  : 2
 78s         	Test:       	TestCache_TestMetrics
 78s === NAME  TestCache_SetExpirationCallback
 78s     cache_test.go:652: Cache size: 2
 78s --- PASS: TestCacheGetWithTTL (0.02s)
 78s === NAME  TestCache_SetExpirationCallback
 78s     cache_test.go:652: Cache size: 3
 78s --- PASS: TestCacheSetWithTTLExistItem (0.03s)
 78s --- FAIL: TestCache_TestMetrics (0.03s)

/Simon
signature.asc (application/pgp-signature, 1.2 KB)
-----BEGIN PGP SIGNATURE-----

iQNoBAEWCgMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmp8OLgUHHNpbW9uQGpv
c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f
V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z
ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh
BLHSvRN1vst4TPT4xNc89jjFPAa+BQJp4fWRBQkOa+rdAAoJENc89jjFPAa+hWIA
/1lQvrJeGlQq50lP6tm99D1zDy7J1tQ3ha4x0Jx7rkFTAP9hpUKuTvm6m1fXyiZV
YZlu2+Id/Dq3CIAZvNF+XEr2BLgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx
I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0
+MTXPPY4xTwGvgUCaeCW1wUJDmqLVgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R
cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE
8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J
ENc89jjFPAa+s7AA+gIIHpBApDpcDj1sKhzDngmpvwQf0VkHme6s+EG7qSgpAQDe
/XMrU0c0Pa3ji85cMqZhvzJOFI/soe662lzL0QY3Bbg4BFySz2oSCisGAQQBl1UB
BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA
JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJp4JbXBQkOaottAAoJENc89jjF
PAa+RNUA/2faQO/nFT06E+MlhlQdo/0chlQXC5TZMPTVvVBFwoLOAP9xLJK0ow5E
jTzYJB4K810AL/Iv6PEOAEgA4cPTHVlbCQAKCRBRcisI/kdFor7RAQCHsPjx+gFk
U86j3vD6oYz6XadF0mzLgYVXMCmxV3DPmQD+MXRZUetprHFtcW6wfbVOHFbVyZld
G6hDUOobU5Q6aQs=
=YhIm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.