10000 test, refactor: refactor test for child_process and gui. · fibjs/fibjs@2114096 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 2114096

Browse files
committed
test, refactor: refactor test for child_process and gui.
1 parent 7eb5e7b commit 2114096

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/child_process_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ describe("child_process", () => {
381381
var o1 = p.usage();
382382

383383
try {
384-
assert.closeTo(o.user, o1.user, 50000);
385-
assert.closeTo(o.system, o1.system, 50000);
384+
assert.closeTo(o.user, o1.user, 200000);
385+
assert.closeTo(o.system, o1.system, 200000);
386386

387387
if (o.rss > 0)
388388
assert.closeTo(o.rss, o1.rss, o.rss / 2);

test/gui_files/t1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
external.postMessage("test");
55
setTimeout(function () {
66
window.close();
7-
}, 1000);
7+
}, 10000);
88
console.log("this is.a log");
99
console.warn("this is.a warn");
1010
console.log(_not_exists)

0 commit comments

Comments
 (0)
0