Debian Patches

Status for golang-github-gomodule-redigo/1:1.9.2-2

Patch Description Author Forwarded Bugs Origin Last update
fix-argument-order-for-require.Equal.patch fix: argument order for require.Equal
Otherwise when the test fails, the output is confusing, the expectation
is shown as "actual" and the other way round:

```
117s === RUN TestLatency
117s reply_test.go:273:
117s Error Trace: /tmp/autopkgtest-lxc.v59pdptr/downtmp/autopkgtest_tmp/_build/src/github.com/gomodule/redigo/redis/reply_test.go:273
117s Error: Not equal:
117s expected: redis.Latency{Name:"command", Time:time.Date(2025, time.March, 11, 2, 49, 58, 0, time.Local), Latest:6000000, Max:6000000}
117s actual : redis.Latency{Name:"command", Time:time.Date(2025, time.March, 11, 2, 49, 58, 0, time.Local), Latest:1000000, Max:1000000}
```
Arnaud Rebillout <arnaudr@kali.org> yes 2025-03-12
fix-actual-latency-might-be-longer-than-expected.patch fix: actual latency might be longer than expected
There's no guarantee that the latency will be 1ms exactly, it might be
longer, especially if the tests run on a busy machine.

This was spotted in the Debian automatic testing infrastructure:

```
70s === RUN TestLatency
70s reply_test.go:273:
70s Error Trace: /tmp/autopkgtest-lxc.slqiy8xs/downtmp/autopkgtest_tmp/_build/src/github.com/gomodule/redigo/redis/reply_test.go:273
70s Error: Not equal:
70s expected: redis.Latency{Name:"command", Time:time.Date(2025, time.March, 10, 22, 8, 39, 0, time.Local), Latest:2000000, Max:2000000}
70s actual : redis.Latency{Name:"command", Time:time.Date(2025, time.March, 10, 22, 8, 39, 0, time.Local), Latest:1000000, Max:1000000}
70s
70s Diff:
70s --- Expected
70s +++ Actual
70s @@ -15,4 +15,4 @@
70s },
70s - Latest: (time.Duration) 2000000,
70s - Max: (time.Duration) 2000000
70s + Latest: (time.Duration) 1000000,
70s + Max: (time.Duration) 1000000
70s }
70s Test: TestLatency
70s --- FAIL: TestLatency (0.00s)
70s === RUN TestLatencyHistories
70s reply_test.go:314:
70s Error Trace: /tmp/autopkgtest-lxc.slqiy8xs/downtmp/autopkgtest_tmp/_build/src/github.com/gomodule/redigo/redis/reply_test.go:314
70s Error: Not equal:
70s expected: 1ms
70s actual : 2ms
70s Test: TestLatencyHistories
70s --- FAIL: TestLatencyHistories (0.00s)
```
Arnaud Rebillout <arnaudr@kali.org> yes 2025-03-12

All known versions for source package 'golang-github-gomodule-redigo'

Links