Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit b92fa65

Browse files
committed
Fix tyre-kicking as well.
1 parent f2b2064 commit b92fa65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tyrekicking.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ function prepare-bundle {
1111
}
1212

1313
function testscript {
14-
if cypher-shell/cypher-shell -u neo4j -p neo "RETURN 1;"; then
14+
# first try with encryption on (3.X series), if that fails with encryption of (4.X series)
15+
if cypher-shell/cypher-shell -u neo4j -p neo --encryption true "RETURN 1;"; then
16+
echo "$1 Success!"
17+
elif cypher-shell/cypher-shell -u neo4j -p neo --encryption false "RETURN 1;"; then
1518
echo "$1 Success!"
1619
else
1720
echo "$1 Failure!"

0 commit comments

Comments
 (0)