integration

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

Integration tests

To run the integration test you need to set your ENV var SUBSTREAMS_INTEGRATION_TESTS=true. By default the tracing is disabled in integration tests. To enable the tracing following the steps below

Tracing

Note: I'm getting an error with jaeger

  1. Run a tracing client (jaeger, zipkin...). Don't run both, choose one
# running zipkin
docker run -p 9411:9411 openzipkin/zipkin
# running zipkin jaeger
docker run --name jaeger \
  -e COLLECTOR_OTLP_ENABLED=true \
  -p 16686:16686 \
  -p 4317:4317 \
  -p 4318:4318 \
  jaegertracing/all-in-one:1.35

  1. Run test with ENV var
  • Zipkin: SF_TRACING=zipkin://localhost:9411?scheme=http
  • Jaeger: SF_TRACING=jaeger://localhost:4317?scheme=http
  1. Wait a few seconds after the test is complete to see the trace in your browser:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL