Skip to content

Commit 6c352cd

Browse files
authored
[Backport release-25.11] scaleway-cli: disable time-dependent test (#528234)
2 parents 315d1f0 + 13c3e68 commit 6c352cd

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pkgs/by-name/sc/scaleway-cli/package.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ buildGoModule rec {
2929

3030
doCheck = true;
3131

32+
checkFlags = [
33+
# This subtest hardcodes a go-humanize relative-time string ("35 years ago")
34+
# for a fixed 1990 date instead of computing it, so it breaks once enough
35+
# wall-clock time passes (now "36 years ago"). go-humanize truncates the
36+
# elapsed time by a fixed 360-day year (Year = 12*Month, Month = 30*Day), so
37+
# diff/Year rolled 35 -> 36 on 2026-05-12. Upstream keeps bumping the
38+
# literal by hand rather than fixing it, so skip the time-dependent subtest.
39+
"-skip=^TestMarshal/structWithMapsInSection$"
40+
];
41+
3242
# Some tests require access to scaleway's API, failing when sandboxed
3343
preCheck = ''
3444
substituteInPlace core/bootstrap_test.go \

0 commit comments

Comments
 (0)