Skip to content

Commit

Permalink
Verify HTTP scheme support in endpoint (#60).
Browse files Browse the repository at this point in the history
  • Loading branch information
jimf5 committed Dec 19, 2024
1 parent 1e183a3 commit be30eef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_otel.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
ssl_certificate_key localhost.key;
otel_exporter {
endpoint 127.0.0.1:14317;
endpoint {{ scheme }}127.0.0.1:14317;
interval {{ interval or "1ms" }};
batch_size 3;
batch_count 3;
Expand Down Expand Up @@ -239,7 +239,9 @@ def test_context(client, trace_service, parent, path):


@pytest.mark.parametrize(
"nginx_config", [({"interval": "200ms"})], indirect=True
"nginx_config",
[({"interval": "200ms", "scheme": "http://"})],
indirect=True,
)
@pytest.mark.parametrize("batch_count", [1, 3])
def test_batches(client, trace_service, batch_count):
Expand Down

0 comments on commit be30eef

Please sign in to comment.