File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ jobs:
2626 - name : Prepare SLO Database
2727 run : |
2828 cd slo/src/TopicService
29- dotnet run create grpc:// localhost: 2135 /Root/testdb
29+ dotnet run create "Host= localhost;Port= 2135;Database= /Root/testdb"
3030 - name : Run SLO Tests
3131 continue-on-error : true
3232 run : |
3333 cd slo/src/TopicService
34- dotnet run run grpc:// localhost: 2135 /Root/testdb \
34+ dotnet run run "Host= localhost;Port= 2135;Database= /Root/testdb" \
3535 --write-rps 50 \
3636 --time 600
Original file line number Diff line number Diff line change 11// See https://aka.ms/new-console-template for more information
22
3+ using AdoNet ;
34using Internal ;
45using Ydb . Sdk . Ado ;
56
6- await Cli . Run ( ( _ , config ) => new AdoNet . SloTableContext (
7- new YdbDataSource ( new YdbConnectionStringBuilder ( config . ConnectionString )
8- { LoggerFactory = ISloContext . Factory } ) ) , args ) ;
7+ await Cli . Run ( ( _ , config ) => new SloTableContext ( new YdbDataSource (
8+ new YdbConnectionStringBuilder ( config . ConnectionString ) { LoggerFactory = ISloContext . Factory } ) ) , args ) ;
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ await Cli.Run((mode, config) =>
1111 return mode switch
1212 {
1313 CliMode . Create => new SloTableContext ( new PooledDbContextFactory < TableDbContext > (
14- new DbContextOptionsBuilder < TableDbContext > ( )
15- . UseYdb ( config . ConnectionString , builder => builder . DisableRetryOnFailure ( ) )
16- . UseLoggerFactory ( ISloContext . Factory )
17- . Options ) ) ,
14+ new DbContextOptionsBuilder < TableDbContext > ( )
15+ . UseYdb ( config . ConnectionString , builder => builder . DisableRetryOnFailure ( ) )
16+ . UseLoggerFactory ( ISloContext . Factory )
17+ . Options ) ) ,
1818 CliMode . Run => new SloTableContext ( new PooledDbContextFactory < TableDbContext > (
1919 new DbContextOptionsBuilder < TableDbContext > ( )
2020 . UseYdb ( config . ConnectionString )
You can’t perform that action at this time.
0 commit comments