module.exports = {
  rand: function() {
    return parseInt(Math.random() * 999)
  },

  //make maxIdleTime small so that tests exit promptly
  mysql: {
    username: "root",
    password: "newdawn",
    database: 'sequelize_test',
    host: 'localhost',
    port: '/tmp/mysql.sock',
    pool: { maxConnections: 5, maxIdleTime: 30}
  },

  sqlite: {
  },

  postgres: {
    database: 'sequelize_test',
    username: "postgres",
    port: 5432,
    pool: { maxConnections: 5, maxIdleTime: 30}
  }
}


module.exports = {
  rand: function() {
    return parseInt(Math.random() * 999)
  },

  //make maxIdleTime small so that tests exit promptly
  mysql: {
    username: "root",
    password: null,
    database: 'sequelize_test',
    host: '127.0.0.1',
    port: 3306,
    pool: { maxConnections: 5, maxIdleTime: 30}
  },

  sqlite: {
  },

  postgres: {
    database: 'sequelize_test',
    username: "postgres",
    port: 5432,
    pool: { maxConnections: 5, maxIdleTime: 30}
  }
}


revert the fail