changeset 1122:e6e3f80c9313

TW-84326: temporarily skip AgentSideCheckoutWithSharedMirrorsTest.turn_off_sharing on ARM agents
author Andreas Eisele <andreas.eisele@jetbrains.com>
date Wed, 18 Oct 2023 09:44:31 +0200
parents f1b2de1a2555
children 7f82951e9391 a14a2f7e74d8 cb5e6f9a2bcd 17b119b3cb9a
files mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/AgentSideCheckoutWithSharedMirrorsTest.java
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/AgentSideCheckoutWithSharedMirrorsTest.java	Thu Oct 12 18:03:22 2023 +0200
+++ b/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/AgentSideCheckoutWithSharedMirrorsTest.java	Wed Oct 18 09:44:31 2023 +0200
@@ -16,6 +16,7 @@
 
 package jetbrains.buildServer.buildTriggers.vcs.mercurial;
 
+import com.intellij.openapi.util.SystemInfo;
 import jetbrains.buildServer.agent.AgentRunningBuild;
 import jetbrains.buildServer.agent.BuildAgentConfiguration;
 import jetbrains.buildServer.agent.BuildProgressLogger;
@@ -32,6 +33,7 @@
 import org.jetbrains.annotations.NotNull;
 import org.jmock.Expectations;
 import org.jmock.Mockery;
+import org.testng.SkipException;
 import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 
@@ -114,6 +116,11 @@
 
 
   public void turn_off_sharing() throws Exception {
+    // TODO: TW-84326: share extension doesn't work as expected on ARM agents
+    if (SystemInfo.isARM64) {
+      throw new SkipException("Ignore test on ARM64 machine");
+    }
+
     File myR1Dir = copy(new File("mercurial-tests/testData/subrepos/r1"));
     copy(new File("mercurial-tests/testData/subrepos/r2"));
     copy(new File("mercurial-tests/testData/subrepos/r3"));