mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-02 02:52:18 +08:00
fix schema url in instrumentation tests (#2730)
* fix schema url in instrumentation tests * change core repo sha for test * Update CORE_REPO_SHA * Try removing cache * Clear cache here as well --------- Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
This commit is contained in:
@ -223,7 +223,7 @@ class TestAioHttpIntegration(TestBase):
|
||||
span = self.memory_exporter.get_finished_spans()[0]
|
||||
self.assertEqual(
|
||||
span.instrumentation_info.schema_url,
|
||||
"https://opentelemetry.io/schemas/v1.21.0",
|
||||
"https://opentelemetry.io/schemas/1.21.0",
|
||||
)
|
||||
self.memory_exporter.clear()
|
||||
|
||||
@ -240,7 +240,7 @@ class TestAioHttpIntegration(TestBase):
|
||||
span = self.memory_exporter.get_finished_spans()[0]
|
||||
self.assertEqual(
|
||||
span.instrumentation_info.schema_url,
|
||||
"https://opentelemetry.io/schemas/v1.21.0",
|
||||
"https://opentelemetry.io/schemas/1.21.0",
|
||||
)
|
||||
self.memory_exporter.clear()
|
||||
|
||||
|
@ -239,7 +239,7 @@ class TestURLLib3Instrumentor(TestBase):
|
||||
span = self.assert_span()
|
||||
self.assertEqual(
|
||||
span.instrumentation_scope.schema_url,
|
||||
"https://opentelemetry.io/schemas/v1.21.0",
|
||||
"https://opentelemetry.io/schemas/1.21.0",
|
||||
)
|
||||
|
||||
def test_schema_url_both_semconv(self):
|
||||
@ -250,7 +250,7 @@ class TestURLLib3Instrumentor(TestBase):
|
||||
span = self.assert_span()
|
||||
self.assertEqual(
|
||||
span.instrumentation_scope.schema_url,
|
||||
"https://opentelemetry.io/schemas/v1.21.0",
|
||||
"https://opentelemetry.io/schemas/1.21.0",
|
||||
)
|
||||
|
||||
def test_basic_not_found(self):
|
||||
|
Reference in New Issue
Block a user