Skip to content

Commit

Permalink
Sometimes there's no error on pg stop Node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
davedoesdev committed May 19, 2019
1 parent 900b983 commit 8925785
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/example/example.js
Expand Up @@ -76,10 +76,9 @@ describe('example', function ()
else if (process.env.USE_QLOBBER_PG === '1')
{
s = stderr.toString();
console.log(s);
pos1 = s.indexOf('Error: stopped');
pos2 = s.indexOf('Error: Connection terminated');
assert((pos1 === 0) || (pos2 === 0));
assert((stderr.length === 0) || (pos1 === 0) || (pos2 === 0));
}
else
{
Expand Down

0 comments on commit 8925785

Please sign in to comment.