Skip to content

Commit 792b087

Browse files
committed
update test case
1 parent 6d97ddc commit 792b087

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/amazonq/shared/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLanguageClientImplTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class AmazonQLanguageClientImplTest {
112112

113113
val event = mapOf(
114114
"name" to "test_event",
115-
"unit" to MetricUnit.MILLISECONDS,
115+
"unit" to "Bytes",
116116
"data" to mapOf(
117117
"key1" to "value1"
118118
)
@@ -126,7 +126,7 @@ class AmazonQLanguageClientImplTest {
126126
val metricEvent = builder.build()
127127
val datum = metricEvent.data.first()
128128

129-
assertThat(datum.unit).isEqualTo(MetricUnit.MILLISECONDS)
129+
assertThat(datum.unit).isEqualTo(MetricUnit.BYTES)
130130
assertThat(datum.metadata).contains(entry("key1", "value1"))
131131
}
132132

0 commit comments

Comments
 (0)