File tree 2 files changed +1
-5
lines changed
libraries/tests/e2e/functions/core/metrics/Function/test/Function.Tests
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -212,5 +212,5 @@ jobs:
212
212
- name : Destroy arm64 AOT Stack
213
213
run : |
214
214
cd libraries/tests/e2e/infra-aot
215
- npox cdk destroy --all -c architecture=${{ matrix.arch }} --force
215
+ npx cdk destroy --all -c architecture=${{ matrix.arch }} --force
216
216
Original file line number Diff line number Diff line change @@ -271,14 +271,10 @@ private void AssertSingleMetric(string output)
271
271
272
272
Assert . True ( cloudWatchMetricsElement [ 0 ] . TryGetProperty ( "Dimensions" , out JsonElement dimensionsElement ) ) ;
273
273
Assert . Equal ( "FunctionName" , dimensionsElement [ 0 ] [ 0 ] . GetString ( ) ) ;
274
- Assert . Equal ( "Service" , dimensionsElement [ 0 ] [ 1 ] . GetString ( ) ) ;
275
274
276
275
Assert . True ( root . TryGetProperty ( "FunctionName" , out JsonElement functionNameElement ) ) ;
277
276
Assert . Equal ( _functionName , functionNameElement . GetString ( ) ) ;
278
277
279
- Assert . True ( root . TryGetProperty ( "Service" , out JsonElement serviceElement ) ) ;
280
- Assert . Equal ( "Test" , serviceElement . GetString ( ) ) ;
281
-
282
278
Assert . True ( root . TryGetProperty ( "SingleMetric" , out JsonElement singleMetricElement ) ) ;
283
279
Assert . Equal ( 1 , singleMetricElement . GetInt32 ( ) ) ;
284
280
}
You can’t perform that action at this time.
0 commit comments