Skip to content

Commit

Permalink
change order of tests and prepare for redis v3
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Apr 1, 2016
1 parent 3fc48ec commit 9deb3f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/databases/redis.js
Expand Up @@ -19,7 +19,10 @@ function Redis(options) {
prefix: 'eventstore',
eventsCollectionName: 'events',
snapshotsCollectionName: 'snapshots',
max_attempts: 1
max_attempts: 1,
retry_strategy: function (options) {
return undefined;
}
};

_.defaults(options, defaults);
Expand Down
2 changes: 1 addition & 1 deletion test/eventstoreTest.js
Expand Up @@ -800,7 +800,7 @@ describe('eventstore', function () {

describe('with options containing a type property with the value of', function () {

var types = ['inmemory', 'mongodb', 'tingodb', 'redis', 'elasticsearch'/*, 'azuretable'*/];
var types = ['inmemory', 'mongodb', 'tingodb', 'redis', 'elasticsearch', 'azuretable'];

types.forEach(function (type) {

Expand Down
2 changes: 1 addition & 1 deletion test/storeTest.js
Expand Up @@ -4,7 +4,7 @@ var expect = require('expect.js'),
_ = require('lodash'),
crypto = require('crypto');

var types = ['inmemory', 'mongodb', 'tingodb', /*'redis', 'elasticsearch', 'azuretable'*/];
var types = ['inmemory', 'mongodb', 'tingodb', 'azuretable', 'redis'/*, 'elasticsearch'*/];

var token = crypto.randomBytes(16).toString('hex');

Expand Down

0 comments on commit 9deb3f2

Please sign in to comment.