Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7e1df40

Browse files
committedFeb 20, 2021
test: skip wasi/test-return-on-exit if low memory
Fixes: nodejs#37374
1 parent a142842 commit 7e1df40

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
 

‎test/wasi/test-return-on-exit.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// Flags: --experimental-wasi-unstable-preview1
22
'use strict';
33
const common = require('../common');
4+
5+
if (!common.enoughTestMem) {
6+
common.skip('Insufficient memory');
7+
}
8+
49
const assert = require('assert');
510
const fs = require('fs');
611
const path = require('path');

‎test/wasi/wasi.status

-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ prefix wasi
77
[true] # This section applies to all platforms
88

99
[$system==win32]
10-
# https://github.com/nodejs/node/pull/36139
11-
test-return-on-exit: PASS,FLAKY

0 commit comments

Comments
 (0)
Please sign in to comment.