Skip to content

Commit 1b45b01

Browse files
committed
purge tests
1 parent 9ecc3c0 commit 1b45b01

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/pm2_programmatic_tests.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ function success {
1818
}
1919

2020
function spec {
21-
[ $? -eq 0 ] || fail "$1"
22-
success "$1"
21+
[ $? -eq 0 ] || fail "$1"
22+
$pm2 link delete
23+
$pm2 kill
24+
success "$1"
2325
}
2426

2527

test/programmatic/api.mocha.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var PM2 = require('../..');
55
var should = require('should');
66

77
describe('API checks', function() {
8-
this.timeout(1000);
8+
this.timeout(5000);
99

1010
describe('PM2 API case#1', function() {
1111
before(function(done) {
@@ -90,7 +90,7 @@ describe('API checks', function() {
9090
PM2.kill(done);
9191
});
9292

93-
it('should start script in cluster mode, 4 instances', function(done) {
93+
it.only('should start script in cluster mode, 4 instances', function(done) {
9494
PM2.start({
9595
script : './../fixtures/child.js',
9696
instances : 4,

0 commit comments

Comments
 (0)