File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Tests/Microsoft.NET.Build.Containers.IntegrationTests Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ public static async Task StartAndPopulateDockerRegistry(ITestOutputHelper testOu
3939 {
4040 using TestLoggerFactory loggerFactory = new ( testOutput ) ;
4141
42- if ( ! new DockerCli ( loggerFactory ) . IsAvailable ( ) ) {
42+ if ( ! new DockerCli ( loggerFactory ) . IsAvailable ( ) )
43+ {
4344 throw new InvalidOperationException ( "Docker is not available, tests cannot run" ) ;
4445 }
4546
@@ -98,7 +99,7 @@ public static async Task StartAndPopulateDockerRegistry(ITestOutputHelper testOu
9899 {
99100 ContainerCli . StopCommand ( testOutput , s_registryContainerId ) . Execute ( ) ;
100101 }
101- catch ( Exception ex2 )
102+ catch ( Exception ex2 )
102103 {
103104 logger . LogError ( ex2 , "Failed to stop the registry {id}." , s_registryContainerId ) ;
104105 }
You can’t perform that action at this time.
0 commit comments