[pkg-go] Bug#832834: golang-github-boltdb-bolt: FTBFS: Tests failures

Santiago Vila sanvila at unex.es
Fri Sep 22 15:55:28 UTC 2017


On Fri, Sep 22, 2017 at 11:48:02PM +0800, Shengjing Zhu wrote:
> I meet this FTBFS either.
> After looking at the code, I think it's caused by this test only waits
> 5s for writing 134M data.
> So I changed the time to 180s which I think sufficient for most disks.
> https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-boltdb-bolt.git/commit/?id=e989709
> 
> Since the upstream is not active now, I haven't reported it to upstream.

Hmm. Why would a test suite have to test the disk speed at all?

A test suite in a program is supposed to test the program,
not the underlying hardware.

IMHO; I don't think such kind of tests are really useful.
I would just disable the test completely.

Thanks.



More information about the Pkg-go-maintainers mailing list