Skip to content

Commit

Permalink
Revert publish and "chore(performance): Parallel testinit" (#2896)
Browse files Browse the repository at this point in the history
* Revert "Publish"

This reverts commit 34c1526.

* Revert "chore(performance): Parallel testinit (#2894)"

This reverts commit d77ddb3.
  • Loading branch information
rouke-broersma authored Mar 29, 2024
1 parent 34c1526 commit b45f64f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 31 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ pr:
- '.github/*'

variables:
PackageVersion: '4.0.3'
VersionBuildNumber: $[counter('4.0.3', 1)]
PackageVersion: '4.0.2'
VersionBuildNumber: $[counter('4.0.2', 1)]
IntegrationTestVersion: $(PackageVersion)-alpha.$(VersionBuildNumber)
ProjectsToPack: src/Stryker.CLI/Stryker.CLI/Stryker.CLI.csproj
ForkIntegrationNugetFeedUri: https://f.feedz.io/stryker/stryker-net/nuget/index.json
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "4.0.3",
"versionPrefix": "4.0.3",
"version": "4.0.2",
"versionPrefix": "4.0.2",
"versionSuffix": "",
"scripts": {
"prepare-release": "node prepare-release.js"
Expand Down
4 changes: 0 additions & 4 deletions src/Stryker.CLI/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
## [4.0.3](https://github.com/stryker-mutator/stryker-net/compare/dotnet-stryker@4.0.2...dotnet-stryker@4.0.3) (2024-03-29)



## [4.0.2](https://github.com/stryker-mutator/stryker-net/compare/dotnet-stryker@4.0.1...dotnet-stryker@4.0.2) (2024-03-20)


Expand Down
2 changes: 1 addition & 1 deletion src/Stryker.CLI/Stryker.CLI/Stryker.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<PropertyGroup>
<VersionPrefix>4.0.3</VersionPrefix>
<VersionPrefix>4.0.2</VersionPrefix>
<VersionSuffix></VersionSuffix>
<PackageId>dotnet-stryker</PackageId>
<Authors>Richard Werkman, Rouke Broersma</Authors>
Expand Down
9 changes: 0 additions & 9 deletions src/Stryker.Core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
## [4.0.3](https://github.com/stryker-mutator/stryker-net/compare/stryker@4.0.2...stryker@4.0.3) (2024-03-29)


### Bug Fixes

* Forward build options to code analyzers and generators ([#2891](https://github.com/stryker-mutator/stryker-net/issues/2891)) ([d93b08c](https://github.com/stryker-mutator/stryker-net/commit/d93b08cecdbd941d9b8bf52aaa0679203672992f))



## [4.0.2](https://github.com/stryker-mutator/stryker-net/compare/stryker@4.0.1...stryker@4.0.2) (2024-03-20)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Stryker.Core.Exceptions;
using Stryker.Core.Initialisation.Buildalyzer;
Expand Down Expand Up @@ -102,21 +101,17 @@ public void BuildProjects(StrykerOptions options, IEnumerable<SourceProjectInfo>
public IReadOnlyCollection<MutationTestInput> GetMutationTestInputs(StrykerOptions options, IReadOnlyCollection<SourceProjectInfo> projects, ITestRunner runner)
{
var result = new List<MutationTestInput>();
try
foreach (var info in projects)
{
Parallel.ForEach(projects, projectInfo => result.Add(new MutationTestInput
result.Add(new MutationTestInput
{
SourceProjectInfo = projectInfo,
TestProjectsInfo = projectInfo.TestProjectsInfo,
SourceProjectInfo = info,
TestProjectsInfo = info.TestProjectsInfo,
TestRunner = runner,
InitialTestRun = InitialTest(options, projectInfo, runner, projects.Count == 1)
})
);
}
catch (AggregateException ex)
{
throw ex.InnerException;
InitialTestRun = InitialTest(options, info, runner, projects.Count==1)
});
}

return result;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Stryker.Core/Stryker.Core/Stryker.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<PropertyGroup>
<VersionPrefix>4.0.3</VersionPrefix>
<VersionPrefix>4.0.2</VersionPrefix>
<VersionSuffix></VersionSuffix>
<PackageId>stryker</PackageId>
<Product>Mutation Testing</Product>
Expand Down

0 comments on commit b45f64f

Please sign in to comment.