File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
test/Renci.SshNet.IntegrationTests/TestsFixtures Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1- using DotNet . Testcontainers . Builders ;
1+ using System . Diagnostics ;
2+
3+ using DotNet . Testcontainers . Builders ;
24using DotNet . Testcontainers . Containers ;
35using DotNet . Testcontainers . Images ;
46
7+ using Renci . SshNet . Abstractions ;
8+
59namespace Renci . SshNet . IntegrationTests . TestsFixtures
610{
711 public sealed class InfrastructureFixture : IDisposable
@@ -34,6 +38,10 @@ public static InfrastructureFixture Instance
3438
3539 public async Task InitializeAsync ( )
3640 {
41+ DiagnosticAbstraction . Source . Switch = new SourceSwitch ( "sourceSwitch" , "Verbose" ) ;
42+ DiagnosticAbstraction . Source . Listeners . Remove ( "Default" ) ;
43+ DiagnosticAbstraction . Source . Listeners . Add ( new ConsoleTraceListener ( ) ) ;
44+
3745 _sshServerImage = new ImageFromDockerfileBuilder ( )
3846 . WithName ( "renci-ssh-tests-server-image" )
3947 . WithDockerfileDirectory ( CommonDirectoryPath . GetSolutionDirectory ( ) , Path . Combine ( "test" , "Renci.SshNet.IntegrationTests" ) )
You can’t perform that action at this time.
0 commit comments