Skip to content

opentelemetry-exporter-jaeger-proto-grpc: export tests failed #1975

Open
@major

Description

@major

Describe your environment

  • Fedora 34
  • platform linux -- Python 3.10.0b4, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
  • opentelemetry-exporter-jaeger-proto-grpc 1.3.0

Steps to reproduce
Run pytest for the tests in the opentelemetry-exporter-jaeger-proto-grpc package.

What is the expected behavior?
I expected the tests to pass.

What is the actual behavior?
Two tests failed:

=========================== short test summary info ============================
FAILED tests/test_jaeger_exporter_protobuf.py::TestJaegerExporter::test_export
FAILED tests/test_jaeger_exporter_protobuf.py::TestJaegerExporter::test_export_span_service_name
================== 2 failed, 3 passed, 100 warnings in 0.31s ===================

Additional context
Both tests failed at this step:

    def MergeFrom(self, msg):
      if not isinstance(msg, cls):
>       raise TypeError(
            'Parameter to MergeFrom() must be instance of same class: '
            'expected %s got %s.' % (cls.__name__, msg.__class__.__name__))
E       TypeError: Parameter to MergeFrom() must be instance of same class: expected Batch got Batch. for field PostSpansRequest.batch

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions