Skip to content

Commit 6282fb0

Browse files
committed
fix Ipv6 Routing Table stub test
The test was depending in internal of the driver which changed during this release cycle.
1 parent e0cdb25 commit 6282fb0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/internal/node/routing.driver.boltkit.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('#stub-routing routing driver with stub server', () => {
5252
])
5353
assertHasRouters(driver, [
5454
'[ff02::1]:9001',
55-
'[684d:1111:222:3333:4444:5555:6:77]:9002',
55+
'[684D:1111:222:3333:4444:5555:6:77]:9002',
5656
'[::1]:9003'
5757
])
5858

@@ -64,7 +64,7 @@ describe('#stub-routing routing driver with stub server', () => {
6464
])
6565
assertHasRouters(driver, [
6666
'[ff02::1]:9001',
67-
'[684d:1111:222:3333:4444:5555:6:77]:9002',
67+
'[684D:1111:222:3333:4444:5555:6:77]:9002',
6868
'[::1]:9003'
6969
])
7070

@@ -615,9 +615,9 @@ describe('#stub-routing routing driver with stub server', () => {
615615
return connectionProvider._connectionPool
616616
}
617617

618-
function getRoutingTable (driver, database) {
618+
function getRoutingTable (driver, database = null) {
619619
const connectionProvider = driver._getOrCreateConnectionProvider()
620-
return connectionProvider._routingTableRegistry.get(database || '', {})
620+
return connectionProvider._routingTableRegistry.get(database, {})
621621
}
622622

623623
function numberOfOpenConnections (driver) {

0 commit comments

Comments
 (0)