File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
tests/BenchmarkDotNet.IntegrationTests Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,10 @@ public byte[] SixtyFourBytesArray()
242242 [ Trait ( Constants . Category , Constants . BackwardCompatibilityCategory ) ]
243243 public void AllocationQuantumIsNotAnIssueForNetCore21Plus ( IToolchain toolchain )
244244 {
245+ // TODO: Skip test on macos. Temporary workaround for https://github.com/dotnet/BenchmarkDotNet/issues/2779
246+ if ( System . Runtime . InteropServices . RuntimeInformation . IsOSPlatform ( System . Runtime . InteropServices . OSPlatform . OSX ) )
247+ return ;
248+
245249 long objectAllocationOverhead = IntPtr . Size * 2 ; // pointer to method table + object header word
246250 long arraySizeOverhead = IntPtr . Size ; // array length
247251 int warmupCount = OsDetector . IsMacOS ( )
You can’t perform that action at this time.
0 commit comments