File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,10 @@ public IntegrationTestsFactory()
34
34
. WithNetworkAliases ( sqlContainerName )
35
35
. WithWaitStrategy ( Wait . ForUnixContainer ( )
36
36
. UntilMessageIsLogged ( "SQL Server is now ready for client connections." , w => w . WithTimeout ( TimeSpan . FromSeconds ( 10 ) ) ) )
37
- . WithOutputConsumer ( Consume . DoNotConsumeStdoutAndStderr ( ) )
37
+ . WithOutputConsumer (
38
+ Consume . RedirectStdoutAndStderrToStream (
39
+ Console . OpenStandardOutput ( ) ,
40
+ Console . OpenStandardError ( ) ) )
38
41
. Build ( ) ;
39
42
40
43
_serviceBusContainer = new ContainerBuilder ( )
@@ -48,8 +51,11 @@ public IntegrationTestsFactory()
48
51
"/ServiceBus_Emulator/ConfigFiles/Config.json" )
49
52
. WithNetwork ( _containersNetwork )
50
53
. WithWaitStrategy ( Wait . ForUnixContainer ( )
51
- . UntilMessageIsLogged ( "Emulator Service is Successfully Up!" , w => w . WithTimeout ( TimeSpan . FromSeconds ( 30 ) ) ) )
52
- . WithOutputConsumer ( Consume . DoNotConsumeStdoutAndStderr ( ) )
54
+ . UntilMessageIsLogged ( "Emulator Service is Successfully Up!" , w => w . WithTimeout ( TimeSpan . FromSeconds ( 60 ) ) ) )
55
+ . WithOutputConsumer (
56
+ Consume . RedirectStdoutAndStderrToStream (
57
+ Console . OpenStandardOutput ( ) ,
58
+ Console . OpenStandardError ( ) ) )
53
59
. Build ( ) ;
54
60
}
55
61
You can’t perform that action at this time.
0 commit comments