File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,7 @@ public void OnNotSuccessStatusCode(StatusCode code)
5050 {
5151 }
5252
53- public void Close ( )
54- {
55- _onClose ? . Invoke ( ) ;
56- }
53+ public void Close ( ) => _onClose ? . Invoke ( ) ;
5754
5855 private static YdbException NotSupportedTransaction =>
5956 new ( StatusCode . BadRequest , "Transactions are not supported in implicit sessions" ) ;
Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ internal ISession GetExecutionSession(bool useImplicit)
5050 if ( ! useImplicit )
5151 return Session ;
5252
53- _implicitSessionSource ??= new ImplicitSessionSource ( Session . Driver , onEmpty : ( ) => _implicitSessionSource = null ) ;
53+ _implicitSessionSource ??=
54+ new ImplicitSessionSource ( Session . Driver , onEmpty : ( ) => _implicitSessionSource = null ) ;
5455 return _implicitSessionSource . OpenSession ( CancellationToken . None ) . GetAwaiter ( ) . GetResult ( ) ;
5556 }
5657
Original file line number Diff line number Diff line change 33
44namespace Ydb . Sdk . Ado . Tests ;
55
6- [ Collection ( "PoolManagerTests" ) ]
76[ CollectionDefinition ( "PoolManagerTests" , DisableParallelization = true ) ]
7+ public sealed class PoolManagerCollection { }
8+
9+ [ Collection ( "PoolManagerTests" ) ]
810public class PoolManagerTests
911{
1012 [ Theory ]
You can’t perform that action at this time.
0 commit comments