Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added test for nice limits

  • Loading branch information...
commit adaea856f26851f569d44f17de4a9fb3371501d4 1 parent 72192f5
@schaermu schaermu authored
Showing with 6 additions and 1 deletion.
  1. +1 −1  test/coverage.html
  2. +5 −0 test/processor.test.js
View
2  test/coverage.html
1 addition, 1 deletion not shown
View
5 test/processor.test.js
@@ -27,6 +27,11 @@ describe('Processor', function() {
});
});
+ it('should properly limit niceness', function() {
+ new Ffmpeg({ source: this.testfile, nolog: true, timeout: 0.02 })
+ .renice(100).options._nice.level.should.equal(0);
+ });
+
it('should kill the process on timeout', function(done) {
var testFile = __dirname + '/assets/testProcessKill.flv';
new Ffmpeg({ source: this.testfile, nolog: true, timeout: 0.02 })
Please sign in to comment.
Something went wrong with that request. Please try again.