Skip to content

Commit

Permalink
Do not run tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Dec 22, 2022
1 parent f556faf commit edb9ce3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/CommonTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

namespace BTCPayServer.Lightning.Tests
{
[Collection(nameof(NonParallelizableCollectionDefinition))]
public class CommonTests
{
#if DEBUG
Expand Down
14 changes: 14 additions & 0 deletions tests/NonParallelizableCollectionDefinition.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace BTCPayServer.Lightning.Tests
{
[CollectionDefinition(nameof(NonParallelizableCollectionDefinition), DisableParallelization = true)]
internal class NonParallelizableCollectionDefinition
{
}
}

0 comments on commit edb9ce3

Please sign in to comment.