Skip to content

Commit

Permalink
test: skip wasi/test-return-on-exit if low memory
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Feb 20, 2021
1 parent a142842 commit 7e1df40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions test/wasi/test-return-on-exit.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// Flags: --experimental-wasi-unstable-preview1
'use strict';
const common = require('../common');

if (!common.enoughTestMem) {
common.skip('Insufficient memory');
}

const assert = require('assert');
const fs = require('fs');
const path = require('path');
Expand Down
2 changes: 0 additions & 2 deletions test/wasi/wasi.status
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ prefix wasi
[true] # This section applies to all platforms

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

0 comments on commit 7e1df40

Please sign in to comment.