File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/ResourceManager/Compute
Commands.Compute.Test/ScenarioTests Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ public NewVhdVMTests(Xunit.Abstractions.ITestOutputHelper output)
25
25
XunitTracingInterceptor . AddToContext ( new XunitTracingInterceptor ( output ) ) ;
26
26
}
27
27
28
- [ Fact ( Skip = "Skip until necessary fixes done: https://github.com/Azure/azure-powershell/issues/5692" ) ]
29
- [ Trait ( Category . AcceptanceType , Category . Flaky ) ]
28
+ [ Fact ]
29
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
30
30
public void TestWithValidVhdDiskFile ( )
31
31
{
32
32
ComputeTestController . NewInstance . RunPsTest ( "Test-NewAzureRmVhdVMWithValidDiskFile" ) ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public static string GetConnectionString(
45
45
var url = fqdn + ( port == null ? string . Empty : ":" + port ) ;
46
46
return imageAndOsType . OsType == OperatingSystemTypes . Windows
47
47
? "mstsc /v:" + url
48
- : "ssh " + user + "@" + url ;
48
+ : "ssh " + ( user == null ? string . Empty : user + "@" ) + url ;
49
49
}
50
50
}
51
51
}
Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ async Task StrategyExecuteCmdletAsync(IAsyncCmdlet asyncCmdlet)
407
407
psResult . FullyQualifiedDomainName = fqdn ;
408
408
var connectionString = imageAndOsType . GetConnectionString (
409
409
fqdn ,
410
- Credential . UserName ) ;
410
+ Credential ? . UserName ) ;
411
411
asyncCmdlet . WriteVerbose (
412
412
Resources . VirtualMachineUseConnectionString ,
413
413
connectionString ) ;
You can’t perform that action at this time.
0 commit comments