diff options
Diffstat (limited to 'src/runtime/mpagecache_test.go')
| -rw-r--r-- | src/runtime/mpagecache_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/mpagecache_test.go b/src/runtime/mpagecache_test.go index 69084f9a84..6cb0620f7b 100644 --- a/src/runtime/mpagecache_test.go +++ b/src/runtime/mpagecache_test.go @@ -5,6 +5,7 @@ package runtime_test import ( + "internal/goos" "math/rand" . "runtime" "testing" @@ -372,7 +373,9 @@ func TestPageAllocAllocToCache(t *testing.T) { }, }, } - if PageAlloc64Bit != 0 { + // Disable these tests on iOS since we have a small address space. + // See #46860. + if PageAlloc64Bit != 0 && goos.IsIos == 0 { const chunkIdxBigJump = 0x100000 // chunk index offset which translates to O(TiB) // This test is similar to the one with the same name for |
