mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
Latest Code
This commit is contained in:
17
node_modules/strong-store-cluster/test/concurrent-inc.js
generated
vendored
Normal file
17
node_modules/strong-store-cluster/test/concurrent-inc.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
var helper = require('./helper/cluster-helper');
|
||||
|
||||
suite('concurrent increment', function() {
|
||||
test('master only', function(cb) {
|
||||
helper.run('do-concurrent-inc', true, 0, 4, cb);
|
||||
});
|
||||
|
||||
test('four workers', function(cb) {
|
||||
helper.run('do-concurrent-inc', false, 4, 4, cb);
|
||||
});
|
||||
|
||||
test('master and four workers', function(cb) {
|
||||
helper.run('do-concurrent-inc', true, 4, 4, cb);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user