Skip to content

Commit b7554f6

Browse files
authored
fix: unknown brokerId's during testing (#89)
1 parent 161d7b5 commit b7554f6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

abstract.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,8 @@ function abstractPersistence (opts) {
14801480

14811481
testInstance('stream all will messages', (t, instance) => {
14821482
const client = {
1483-
id: '12345'
1483+
id: '12345',
1484+
brokerId: instance.broker.id
14841485
}
14851486
const toWrite = {
14861487
topic: 'hello/died',
@@ -1512,10 +1513,12 @@ function abstractPersistence (opts) {
15121513
testInstance('stream all will message for unknown brokers', (t, instance) => {
15131514
const originalId = instance.broker.id
15141515
const client = {
1515-
id: '42'
1516+
id: '42',
1517+
brokerId: instance.broker.id
15161518
}
15171519
const anotherClient = {
1518-
id: '24'
1520+
id: '24',
1521+
brokerId: instance.broker.id
15191522
}
15201523
const toWrite1 = {
15211524
topic: 'hello/died42',

0 commit comments

Comments
 (0)