Skip to content

Commit

Permalink
test: fix breaking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Mar 24, 2021
1 parent 472d09e commit d8ff269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/connection/connection.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ test.group('Health Checks', (group) => {
read: {
connection: [
getConfig().connection,
Object.assign({}, getConfig().connection, { host: 'bad-host' }),
Object.assign({}, getConfig().connection, { host: 'bad-host', port: 8000 }),
],
},
},
Expand All @@ -239,6 +239,7 @@ test.group('Health Checks', (group) => {
connection.connect()

const report = await connection.getReport()
console.log(report)
assert.equal(report.message, 'Unable to reach one of the read hosts')
assert.exists(report.error)

Expand Down

0 comments on commit d8ff269

Please sign in to comment.