Skip to content

Commit

Permalink
Synchronize database and collection names between localhost and deployed
Browse files Browse the repository at this point in the history
Please see synchronize_databases/README.md in the tools repo for more information.
  • Loading branch information
darinkrauss committed Aug 17, 2016
1 parent 1ed1e86 commit ab92310
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion env.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ module.exports = (function () {

env.mongo = {
// A standard Mongo connection string used to connect to Mongo, of all things
connectionString: config.fromEnvironment('MONGO_CONNECTION_STRING', 'mongodb://localhost/streams')
connectionString: config.fromEnvironment('MONGO_CONNECTION_STRING', 'mongodb://localhost/data')
};

env.discovery = {
Expand Down
2 changes: 1 addition & 1 deletion test/api/ingestionApiTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var _ = require('lodash');
var expect = require('salinity').expect;

var mongoClient = require('../../lib/mongo/mongoClient.js')(
{ connectionString: 'mongodb://localhost/test_ingestion', closeDelay: 0 }
{ connectionString: 'mongodb://localhost/data_test', closeDelay: 0 }
);
var streamDAO = require('../../lib/streamDAO.js')(mongoClient);
var dataBroker = require('../../lib/dataBroker.js')(streamDAO);
Expand Down
2 changes: 1 addition & 1 deletion test/streamDAOTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var expect = require('salinity').expect;

var misc = require('../lib/misc.js');
var mongoClient = require('../lib/mongo/mongoClient.js')(
{ connectionString: 'mongodb://localhost/test_streams', closeDelay: 0 }
{ connectionString: 'mongodb://localhost/data_test', closeDelay: 0 }
);
var streamDAO = require('../lib/streamDAO.js')(mongoClient);

Expand Down

0 comments on commit ab92310

Please sign in to comment.