Skip to content

Commit 9ff3450

Browse files
committed
Removing section of the proj file that should not be there. Re-enabling SQL test that uses old Metrics API.
1 parent e9125bd commit 9ff3450

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,6 @@
4141
<DelaySign>true</DelaySign>
4242
<Prefer32Bit>false</Prefer32Bit>
4343
</PropertyGroup>
44-
<PropertyGroup>
45-
<SignAssembly>false</SignAssembly>
46-
</PropertyGroup>
47-
<PropertyGroup>
48-
<AssemblyOriginatorKeyFile>MSSharedLibKey.snk</AssemblyOriginatorKeyFile>
49-
</PropertyGroup>
50-
<PropertyGroup>
51-
<DelaySign>false</DelaySign>
52-
</PropertyGroup>
5344
<ItemGroup>
5445
<Reference Include="Hyak.Common">
5546
<SpecificVersion>False</SpecificVersion>

src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ElasticPoolCrudTests.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,9 @@ function Test-GetElasticPoolMetric
171171
Assert-NotNull $ep1
172172

173173
# Get pool metrics with all values
174-
# **** NOTE: this section of the test has been commented out by gucalder because the current Get-AzureRmEmtric has changed, it requires different parameters and the recorded session is not longer compatible with it.
175-
# $metrics = $ep1 | Get-AzureRmMetric -TimeGrain "0:5:0" -StartTime "2015-04-22T16:00:00Z" -EndTime "2015-04-22T17:00:00Z"
176-
# Assert-NotNull $metrics
177-
# Assert-True { $metrics.Count -gt 0 }
174+
$metrics = $ep1 | Get-AzureRmMetric -TimeGrain "0:5:0" -StartTime "2015-04-22T16:00:00Z" -EndTime "2015-04-22T17:00:00Z"
175+
Assert-NotNull $metrics
176+
Assert-True { $metrics.Count -gt 0 }
178177
}
179178

180179

0 commit comments

Comments
 (0)