Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydvoss committed Jun 6, 2024
1 parent 425caae commit c8a4519
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.6.0 (2024-06-05)
## 1.6.0 (2024-06-06)

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def test_configure(self, mock_diagnostics, attach_mock, sampler_mock, super_mock
sampler_mock.assert_called_once_with(1.0)
super_mock()._configure.assert_called_once_with(
auto_instrumentation_version="TEST_VERSION",
trace_exporter_names=["azure-monitor-opentelemetry-exporter"],
metric_exporter_names=["azure-monitor-opentelemetry-exporter"],
log_exporter_names=["azure-monitor-opentelemetry-exporter"],
trace_exporter_names=["azure_monitor_opentelemetry_exporter"],
metric_exporter_names=["azure_monitor_opentelemetry_exporter"],
log_exporter_names=["azure_monitor_opentelemetry_exporter"],
sampler="TEST_SAMPLER",
)
mock_diagnostics.info.assert_called_once_with(
Expand All @@ -56,9 +56,9 @@ def test_configure_sampler_arg(self, mock_diagnostics, attach_mock, sampler_mock
sampler_mock.assert_called_once_with(0.5)
super_mock()._configure.assert_called_once_with(
auto_instrumentation_version="TEST_VERSION",
trace_exporter_names=["azure-monitor-opentelemetry-exporter"],
metric_exporter_names=["azure-monitor-opentelemetry-exporter"],
log_exporter_names=["azure-monitor-opentelemetry-exporter"],
trace_exporter_names=["azure_monitor_opentelemetry_exporter"],
metric_exporter_names=["azure_monitor_opentelemetry_exporter"],
log_exporter_names=["azure_monitor_opentelemetry_exporter"],
sampler="TEST_SAMPLER",
)
mock_diagnostics.info.assert_called_once_with(
Expand All @@ -80,9 +80,9 @@ def test_configure_preview(self, mock_diagnostics, attach_mock, sampler_mock, su
configurator._configure()
sampler_mock.assert_called_once_with(1.0)
super_mock()._configure.assert_called_once_with(
trace_exporter_names=["azure-monitor-opentelemetry-exporter"],
metric_exporter_names=["azure-monitor-opentelemetry-exporter"],
log_exporter_names=["azure-monitor-opentelemetry-exporter"],
trace_exporter_names=["azure_monitor_opentelemetry_exporter"],
metric_exporter_names=["azure_monitor_opentelemetry_exporter"],
log_exporter_names=["azure_monitor_opentelemetry_exporter"],
sampler="TEST_SAMPLER",
)
mock_diagnostics.info.assert_called_once_with(
Expand Down

0 comments on commit c8a4519

Please sign in to comment.