Skip to content

Commit a2c5b0a

Browse files
committed
Update IT test
1 parent ba85711 commit a2c5b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/neo4j-driver/test/driver.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ describe('#integration driver', () => {
395395
await expectAsync(session.run('RETURN 1')).toBeRejectedWith(
396396
jasmine.objectContaining({
397397
code: neo4j.error.SERVICE_UNAVAILABLE,
398-
message: jasmine.stringMatching(/No routing servers available/)
398+
message: `Neo4jError: Server at ${sharedNeo4j.hostname}:7687 can't perform routing. Make sure you are connecting to a causal cluster.`
399399
})
400400
)
401401

0 commit comments

Comments
 (0)