Skip to content

Commit

Permalink
what is the property for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmre committed Nov 1, 2022
1 parent 711b6c1 commit 81f4a21
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/java/com/neo4j/docker/neo4jserver/TestUpgrade.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ private static void assumeUpgradeSupported( Neo4jVersion upgradeFrom )

private static boolean isArm()
{
return System.getProperty( "os.arch" ).equals( "arm" );
String property = System.getProperty( "os.arch" );
if (!property.equals( "amd64" )) {
throw new RuntimeException("BOOM! os.arch returned " + property);
}
return property.equals( "arm" );
}

private void testUpgradeNamedVolumes( Neo4jVersion upgradeFrom )
Expand Down

0 comments on commit 81f4a21

Please sign in to comment.