Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
nodejs10.26739
skip_test_on_lowmem.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skip_test_on_lowmem.patch of Package nodejs10.26739
Index: node-git.96a986d675/test/sequential/test-buffer-creation-regression.js =================================================================== --- node-git.96a986d675.orig/test/sequential/test-buffer-creation-regression.js +++ node-git.96a986d675/test/sequential/test-buffer-creation-regression.js @@ -2,6 +2,7 @@ const common = require('../common'); const assert = require('assert'); +const os = require('os'); function test(arrayBuffer, offset, length) { const uint8Array = new Uint8Array(arrayBuffer, offset, length); @@ -25,6 +26,10 @@ const offset = 4294967296; /* 1 << 32 */ const size = offset + length; let arrayBuffer; +if (os.totalmem()/(1<<30) < 7) { + common.skip('Skipping test on low-memory build machine'); +} + try { arrayBuffer = new ArrayBuffer(size); } catch (e) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor