Skip to content

Commit ced5113

Browse files
disable big parallelism
1 parent eb451ac commit ced5113

File tree

9 files changed

+28
-352
lines changed

9 files changed

+28
-352
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,7 @@ jobs:
6767
uses: actions/setup-dotnet@v4
6868
with:
6969
dotnet-version: ${{ matrix.dotnet-version }}
70-
- name: Set up Docker Compose
71-
uses: hoverkraft-tech/[email protected]
72-
with:
73-
compose-file: "./.github/ydb-slice-compose.yaml"
7470
- name: Run ADO.NET tests
75-
env:
76-
ConnectionString: "Host=localhost;Port=3135;Database=/Root/testdb"
7771
run: |
7872
docker cp ydb-local:/ydb_certs/ca.pem ~/
7973
cd src

.github/ydb-slice-compose.yaml

Lines changed: 0 additions & 269 deletions
This file was deleted.

.github/ydb.yaml

Lines changed: 0 additions & 60 deletions
This file was deleted.

src/Ydb.Sdk/tests/Ado/Specification/YdbFactoryFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ public class YdbFactoryFixture : IDbFactoryFixture
88
{
99
public DbProviderFactory Factory => YdbProviderFactory.Instance;
1010

11-
public string ConnectionString => "Host=localhost;Port=2136;Database=/local";
11+
public string ConnectionString => "Host=localhost;Port=2136;Database=/local;MaxSessionPool=10";
1212
}

src/Ydb.Sdk/tests/Ado/YdbAdoUserPasswordTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public async Task Authentication_WhenUserAndPassword_ReturnValidConnection()
3535
ydbCommand.CommandText = $"DROP USER {kurdyukovkirya};";
3636
await ydbCommand.ExecuteNonQueryAsync();
3737
}
38-
38+
3939
[Fact]
4040
public async Task ExecuteNonQueryAsync_WhenCreateUser_ReturnEmptyResultSet()
4141
{

src/Ydb.Sdk/tests/Ado/YdbCommandTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
namespace Ydb.Sdk.Tests.Ado;
1010

11+
[Collection("YdbCommandTests")]
12+
[CollectionDefinition("YdbCommandTests isolation test")]
1113
public class YdbCommandTests : YdbAdoNetFixture
1214
{
1315
public YdbCommandTests(YdbFactoryFixture fixture) : base(fixture)

0 commit comments

Comments
 (0)