CycloneDX / CycloneDX/cyclonedx-dotnet

Tests fail when running parallel

Open
#788 0 comments 0 reactions 1 assignee Claimed by @mtsfoni View on GitHub
Dominant language
C#
Stars
294
Forks
123
PR merge metrics
No merged PRs in 30d

Description

The GitHub runner kept timing out with functional tests that I added. Log didn't give useful information.

After adding `[assembly: CollectionBehavior(DisableTestParallelization = true)]`, the problem was solved. Since I stripped CycloneDX from most if not all static properties, I currently suspect the Serializer of the CycloneDX.Core library to be the culprit.

Requires further investigation, so that tests can set to run parallel again.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.