Skip to content

Commit 38a7322

Browse files
commit
1 parent bda73bc commit 38a7322

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

src/Ydb.Sdk/src/IDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public abstract class BaseDriver : IDriver
6767
internal readonly GrpcChannelFactory GrpcChannelFactory;
6868
internal readonly ChannelPool<GrpcChannel> ChannelPool;
6969

70-
private int _ownerCount;
70+
private volatile int _ownerCount;
7171

7272
protected volatile int Disposed;
7373

src/Ydb.Sdk/test/Ydb.Sdk.Ado.Tests/PoolManagerTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
using System.Collections.Immutable;
22
using Xunit;
3-
using Xunit.Abstractions;
43

54
namespace Ydb.Sdk.Ado.Tests;
65

7-
[Collection("PoolManagerTests")]
8-
[CollectionDefinition("PoolManagerTests", DisableParallelization = true)]
6+
[Collection("DisableParallelization")]
97
public class PoolManagerTests
108
{
119
[Theory]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
using Xunit;
2+
3+
namespace Ydb.Sdk.Ado.Tests.Utils;
4+
5+
[CollectionDefinition("DisableParallelization", DisableParallelization = true)]
6+
public class DisableParallelization;

src/Ydb.Sdk/test/Ydb.Sdk.Ado.Tests/YdbSchemaTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
namespace Ydb.Sdk.Ado.Tests;
55

6-
[Collection("YdbSchemaTests isolation test")]
7-
[CollectionDefinition("YdbSchemaTests isolation test", DisableParallelization = true)]
6+
[Collection("DisableParallelization")]
87
public class YdbSchemaTests : TestBase
98
{
109
private readonly string _table1;

0 commit comments

Comments
 (0)