Fix flaky TestCreateTraceExporter (#106)
Fix flaky TestCreateTraceExporter (#106)

* Fix flaky TestCreateTraceExporter

The ocagent Stop method takes into account the state of its connection to report error or not. The test is about creating and stopping the exporter so standing up a receiver ensures that ocagent stops happens cleanly.

* Fix import section

open-telemetry/opentelemetry-collector-contrib,open-telemetry/opentelemetry-collector,open-telemetry/opentelemetry-collector-contrib,open-telemetry/opentelemetry-collector,open-telemetry/opentelemetry-collector