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 ;
2
4
using DotNet . Testcontainers . Containers ;
3
5
using DotNet . Testcontainers . Images ;
4
6
7
+ using Renci . SshNet . Abstractions ;
8
+
5
9
namespace Renci . SshNet . IntegrationTests . TestsFixtures
6
10
{
7
11
public sealed class InfrastructureFixture : IDisposable
@@ -34,6 +38,10 @@ public static InfrastructureFixture Instance
34
38
35
39
public async Task InitializeAsync ( )
36
40
{
41
+ DiagnosticAbstraction . Source . Switch = new SourceSwitch ( "sourceSwitch" , "Verbose" ) ;
42
+ DiagnosticAbstraction . Source . Listeners . Remove ( "Default" ) ;
43
+ DiagnosticAbstraction . Source . Listeners . Add ( new ConsoleTraceListener ( ) ) ;
44
+
37
45
_sshServerImage = new ImageFromDockerfileBuilder ( )
38
46
. WithName ( "renci-ssh-tests-server-image" )
39
47
. WithDockerfileDirectory ( CommonDirectoryPath . GetSolutionDirectory ( ) , Path . Combine ( "test" , "Renci.SshNet.IntegrationTests" ) )
You can’t perform that action at this time.
0 commit comments