@@ -57,7 +57,7 @@ func TestReportUsageIntegration(t *testing.T) {
5757 Reservations : []* UsageTestReservation {},
5858 AllAZs : []string {"az-a" },
5959 Expected : map [string ]ExpectedResourceUsage {
60- "ram_hana_1 " : {
60+ "hw_version_hana_1_ram " : {
6161 PerAZ : map [string ]ExpectedAZUsage {
6262 "az-a" : {Usage : 0 , VMs : []ExpectedVMUsage {}},
6363 },
@@ -77,7 +77,7 @@ func TestReportUsageIntegration(t *testing.T) {
7777 },
7878 AllAZs : []string {"az-a" },
7979 Expected : map [string ]ExpectedResourceUsage {
80- "ram_hana_1 " : {
80+ "hw_version_hana_1_ram " : {
8181 PerAZ : map [string ]ExpectedAZUsage {
8282 "az-a" : {
8383 Usage : 4 , // 4096 MB / 1024 MB = 4 units
@@ -99,7 +99,7 @@ func TestReportUsageIntegration(t *testing.T) {
9999 Reservations : []* UsageTestReservation {}, // No commitments
100100 AllAZs : []string {"az-a" },
101101 Expected : map [string ]ExpectedResourceUsage {
102- "ram_hana_1 " : {
102+ "hw_version_hana_1_ram " : {
103103 PerAZ : map [string ]ExpectedAZUsage {
104104 "az-a" : {
105105 Usage : 4 ,
@@ -127,7 +127,7 @@ func TestReportUsageIntegration(t *testing.T) {
127127 },
128128 AllAZs : []string {"az-a" },
129129 Expected : map [string ]ExpectedResourceUsage {
130- "ram_hana_1 " : {
130+ "hw_version_hana_1_ram " : {
131131 PerAZ : map [string ]ExpectedAZUsage {
132132 "az-a" : {
133133 Usage : 12 , // 12 units total
@@ -157,7 +157,7 @@ func TestReportUsageIntegration(t *testing.T) {
157157 },
158158 AllAZs : []string {"az-a" },
159159 Expected : map [string ]ExpectedResourceUsage {
160- "ram_hana_1 " : {
160+ "hw_version_hana_1_ram " : {
161161 PerAZ : map [string ]ExpectedAZUsage {
162162 "az-a" : {
163163 Usage : 12 ,
@@ -187,7 +187,7 @@ func TestReportUsageIntegration(t *testing.T) {
187187 },
188188 AllAZs : []string {"az-a" },
189189 Expected : map [string ]ExpectedResourceUsage {
190- "ram_hana_1 " : {
190+ "hw_version_hana_1_ram " : {
191191 PerAZ : map [string ]ExpectedAZUsage {
192192 "az-a" : {
193193 Usage : 13 , // 1 + 4 + 8 = 13 units
@@ -216,7 +216,7 @@ func TestReportUsageIntegration(t *testing.T) {
216216 },
217217 AllAZs : []string {"az-a" },
218218 Expected : map [string ]ExpectedResourceUsage {
219- "ram_hana_1 " : {
219+ "hw_version_hana_1_ram " : {
220220 PerAZ : map [string ]ExpectedAZUsage {
221221 "az-a" : {
222222 Usage : 8 ,
@@ -243,7 +243,7 @@ func TestReportUsageIntegration(t *testing.T) {
243243 },
244244 AllAZs : []string {"az-a" , "az-b" },
245245 Expected : map [string ]ExpectedResourceUsage {
246- "ram_hana_1 " : {
246+ "hw_version_hana_1_ram " : {
247247 PerAZ : map [string ]ExpectedAZUsage {
248248 "az-a" : {
249249 Usage : 4 ,
@@ -275,7 +275,7 @@ func TestReportUsageIntegration(t *testing.T) {
275275 },
276276 AllAZs : []string {"az-a" },
277277 Expected : map [string ]ExpectedResourceUsage {
278- "ram_hana_1 " : {
278+ "hw_version_hana_1_ram " : {
279279 PerAZ : map [string ]ExpectedAZUsage {
280280 "az-a" : {
281281 Usage : 4 , // 4096 MB / 1024 MB = 4 units
@@ -285,7 +285,7 @@ func TestReportUsageIntegration(t *testing.T) {
285285 },
286286 },
287287 },
288- "ram_gp_1 " : {
288+ "hw_version_gp_1_ram " : {
289289 PerAZ : map [string ]ExpectedAZUsage {
290290 "az-a" : {
291291 Usage : 4 , // 2048 MB / 512 MB = 4 units
@@ -332,7 +332,7 @@ func TestReportUsageIntegration(t *testing.T) {
332332 },
333333 AllAZs : []string {"az-a" },
334334 Expected : map [string ]ExpectedResourceUsage {
335- "ram_hana_1 " : {
335+ "hw_version_hana_1_ram " : {
336336 PerAZ : map [string ]ExpectedAZUsage {
337337 "az-a" : {
338338 Usage : 4 ,
0 commit comments