aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/path_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/path_test.go')
-rw-r--r--container/path_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/container/path_test.go b/container/path_test.go
index 5af4c821..d1754559 100644
--- a/container/path_test.go
+++ b/container/path_test.go
@@ -173,8 +173,8 @@ func TestProcPaths(t *testing.T) {
}
})
t.Run("fd", func(t *testing.T) {
- want := "/host/proc/self/fd/9223372036854775807"
- if got := hostProc.fd(math.MaxInt64); got != want {
+ want := "/host/proc/self/fd/2147483647"
+ if got := hostProc.fd(math.MaxInt32); got != want {
t.Errorf("stdout: %q, want %q", got, want)
}
})