Skip to content

Commit 1b60ec1

Browse files
committed
Address comment
1 parent 6a66251 commit 1b60ec1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

opentelemetry-instrumentation/tests/test_semconv.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_genai_latest_experimental(self):
106106
_StabilityMode.GEN_AI_LATEST_EXPERIMENTAL,
107107
)
108108

109-
@stability_mode("database,http")
109+
@stability_mode("database,http,gen_ai_latest_experimental")
110110
def test_multiple_stability_database_http_modes(self):
111111
self.assertEqual(
112112
_OpenTelemetrySemanticConventionStability._get_opentelemetry_stability_opt_in_mode(
@@ -120,6 +120,12 @@ def test_multiple_stability_database_http_modes(self):
120120
),
121121
_StabilityMode.HTTP,
122122
)
123+
self.assertEqual(
124+
_OpenTelemetrySemanticConventionStability._get_opentelemetry_stability_opt_in_mode(
125+
_OpenTelemetryStabilitySignalType.GEN_AI
126+
),
127+
_StabilityMode.GEN_AI_LATEST_EXPERIMENTAL,
128+
)
123129

124130
@stability_mode("database,http/dup")
125131
def test_multiple_stability_database_http_dup_modes(self):

0 commit comments

Comments
 (0)