Skip to content

Commit

Permalink
skip tests when running under aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeliucc authored May 15, 2020
1 parent ef44d5c commit 95fc7e0
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,13 @@ class WebDriverHelperTest {
@Test
@Throws(Exception::class)
fun downloadChromeHeadlessDriver() {
val osArch = System.getProperty("os.arch")
if (StringUtils.equals(osArch, "aarch64")) {
// skipping this test for ARM64 because we can't get the driver from the same driver download page
println("skipping resolveChromeDriver() test for $osArch system since we can't auto-download driver")
return;
}

val driverHome = File("${driverHomeBase}chrome")
FileUtils.deleteDirectory(driverHome)

Expand Down

0 comments on commit 95fc7e0

Please sign in to comment.