File tree Expand file tree Collapse file tree 4 files changed +2
-15
lines changed
test/Serilog.Sinks.MSSqlServer.Tests Expand file tree Collapse file tree 4 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -54,18 +54,7 @@ if ($SkipTests -eq $false) {
54
54
55
55
echo " build: Testing project in $test "
56
56
57
- & dotnet test - c Release -- filter " Category!=Isolated"
58
- if ($LASTEXITCODE -ne 0 ) { exit 3 }
59
-
60
- Pop-Location
61
- }
62
-
63
- foreach ($test in ls test/* .Tests) {
64
- Push-Location $test
65
-
66
- echo " build: Running isolated tests in $test "
67
-
68
- & dotnet test - c Release -- filter " Category=Isolated"
57
+ & dotnet test - c Release
69
58
if ($LASTEXITCODE -ne 0 ) { exit 3 }
70
59
71
60
Pop-Location
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace Serilog.Sinks.MSSqlServer.Tests.TestUtils
13
13
public sealed class DatabaseFixture : IDisposable
14
14
{
15
15
16
- private const string _masterConnectionString = @"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Master;Integrated Security=True" ;
16
+ private const string _masterConnectionString = @"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Master;Integrated Security=True;Connect Timeout=120 " ;
17
17
private const string _createLogEventsDatabase = @"
18
18
EXEC ('CREATE DATABASE [{0}] ON PRIMARY
19
19
(NAME = [{0}],
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ public static class TestCategory
5
5
public const string TraitName = "Category" ;
6
6
7
7
public const string Integration = nameof ( Integration ) ;
8
- public const string Isolated = nameof ( Isolated ) ;
9
8
public const string Unit = nameof ( Unit ) ;
10
9
}
11
10
}
Original file line number Diff line number Diff line change 6
6
7
7
namespace Serilog . Sinks . MSSqlServer . Tests
8
8
{
9
- [ Trait ( TestCategory . TraitName , TestCategory . Isolated ) ]
10
9
public class TransactionTests : DatabaseTestsBase
11
10
{
12
11
public TransactionTests ( ITestOutputHelper output ) : base ( output )
You can’t perform that action at this time.
0 commit comments