[Pkg-javascript-commits] [node-foreground-child] 43/69: avoid race condition in test
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Aug 25 11:43:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-foreground-child.
commit e0de53c5fb2e4cee3531bc9d8cd92bad5b745dca
Author: isaacs <i at izs.me>
Date: Mon Jun 13 14:06:55 2016 -0700
avoid race condition in test
---
test/basic.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/basic.js b/test/basic.js
index ebd0da5..729cc3f 100644
--- a/test/basic.js
+++ b/test/basic.js
@@ -4,6 +4,7 @@ var signalExit = require('signal-exit')
if (process.argv[2] === 'child') {
console.log('stdout')
+ setTimeout(function () {}, 1000)
switch (process.argv[3]) {
case 'SIGTERM':
case 'SIGHUP':
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-foreground-child.git
More information about the Pkg-javascript-commits
mailing list