Avoid use sleep function
This commit is contained in:
parent
dbdfe86171
commit
3a0bbc1ead
@ -40,7 +40,7 @@ describe('batch startup', function() {
|
||||
}
|
||||
|
||||
it('should feed queue index at startup', function (done) {
|
||||
createJob('select pg_sleep(3)', function (err) {
|
||||
createJob('select 1', function (err) {
|
||||
if (err) {
|
||||
return done(err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user