Skip to content

Commit 16bd647

Browse files
committed
PerfTests - attemp to fix test via disabling parallelisation
1 parent 25dd135 commit 16bd647

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

PerfTests/tests/IntegrationTests/CompetitionAnnotateTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ public class AnnotatedBaselineChangedBenchmark
156156
public void SlowerX20() => CompetitionHelpers.Delay(20 * CompetitionHelpers.BurstModeLoopCount);
157157
}
158158

159+
[CompetitionTroubleshootingMode]
159160
[CompetitionMeasurementsFromLogModifier]
160161
public class AnnotatedWithTimeAndGcBenchmark
161162
{

PerfTests/tests/Properties/AssemblyInfo.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
using CodeJam.PerfTests;
66

7+
using NUnit.Framework;
8+
79
// General Information about an assembly is controlled through the following
810
// set of attributes. Change these attribute values to modify the information
911
// associated with an assembly.
@@ -37,5 +39,7 @@
3739
[assembly: AssemblyVersion("1.0.0.0")]
3840
[assembly: AssemblyFileVersion("1.0.0.0")]
3941

42+
43+
[assembly: Parallelizable(ParallelScope.None)]
4044
[assembly: CompetitionFeatures(ContinuousIntegrationMode = false)]
41-
[assembly: CompetitionConfigFactory(typeof(SelfTestConfigFactory))]
45+
[assembly: CompetitionConfigFactory(typeof(SelfTestConfigFactory))]

0 commit comments

Comments
 (0)