Skip to content

Commit 4f7f0e1

Browse files
author
Mirroring
committed
Merge commit '555dec74449c484643a1fcbaf5b8fc0021c484c6'
2 parents 6b771e7 + 555dec7 commit 4f7f0e1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

eng/targets/Helix.Common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<HelixAvailableTargetQueue Include="$(HelixQueueArmDebian12)" Platform="Linux" />
5050

5151
<!-- Mac -->
52-
<HelixAvailableTargetQueue Include="OSX.1200.Amd64.Open" Platform="OSX" />
52+
<HelixAvailableTargetQueue Include="OSX.15.Amd64.Open" Platform="OSX" />
5353

5454
<!-- Windows -->
5555
<HelixAvailableTargetQueue Include="Windows.Amd64.Server2022.Open" Platform="Windows" />

src/Testing/src/xunit/SkipOnHelixAttribute.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ private bool ShouldSkip()
6666
return true;
6767
}
6868

69-
return Queues.ToLowerInvariant().Split(';').Contains(targetQueue);
69+
// We have "QueueName" and "QueueName.Open" queues for internal and public builds
70+
// If we want to skip the test in the public queue, we want to skip it in the internal queue, and vice versa
71+
return Queues.ToLowerInvariant().Split(';').Any(q => q.Equals(targetQueue, StringComparison.Ordinal) || q.StartsWith(targetQueue, StringComparison.Ordinal) ||
72+
targetQueue.StartsWith(q, StringComparison.Ordinal));
7073
}
7174

7275
public static bool OnHelix() => HelixHelper.OnHelix();

0 commit comments

Comments
 (0)