Skip to content

Commit c4675cc

Browse files
committed
Updating the test cases
1 parent 32e4ec9 commit c4675cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

awsagentprovider/src/test/java/software/amazon/opentelemetry/javaagent/providers/AwsMetricAttributeGeneratorTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ private void validateHttpStatusForNonLocalRootWithThrowableForClient(
10311031
}
10321032

10331033
@Test
1034-
void testDBUserAttribute() {
1034+
public void testDBUserAttribute() {
10351035
mockAttribute(DB_SYSTEM, "db_system");
10361036
mockAttribute(DB_OPERATION, "db_operation");
10371037
mockAttribute(DB_STATEMENT, "db_statement");
@@ -1045,7 +1045,7 @@ void testDBUserAttribute() {
10451045
}
10461046

10471047
@Test
1048-
void testDBUserAttributeAbsent() {
1048+
public void testDBUserAttributeAbsent() {
10491049
mockAttribute(DB_USER, null);
10501050
when(spanDataMock.getKind()).thenReturn(SpanKind.CLIENT);
10511051

@@ -1055,7 +1055,7 @@ void testDBUserAttributeAbsent() {
10551055
}
10561056

10571057
@Test
1058-
void testDBUserAttributeWithDifferentValues() {
1058+
public void testDBUserAttributeWithDifferentValues() {
10591059
mockAttribute(DB_SYSTEM, "db_system");
10601060
mockAttribute(DB_OPERATION, "db_operation");
10611061
mockAttribute(DB_STATEMENT, "db_statement");
@@ -1068,7 +1068,7 @@ void testDBUserAttributeWithDifferentValues() {
10681068
}
10691069

10701070
@Test
1071-
void testDBUserAttributeNotPresentInServiceMetricForServerSpan() {
1071+
public void testDBUserAttributeNotPresentInServiceMetricForServerSpan() {
10721072
String dbUser = "db_user";
10731073
mockAttribute(DB_USER, dbUser);
10741074
when(spanDataMock.getKind()).thenReturn(SpanKind.SERVER);

0 commit comments

Comments
 (0)