Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Tax committed Jan 5, 2021
1 parent 9a161f5 commit b20f7e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/test/trace/w3c_tracecontext_test/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Test service endpoint for W3C validation

This example program is intended to be used as a test service for the [W3C Distributed Tracing Validation Service](https://github.com/w3c/trace-context/tree/master/test).
This test application is intended to be used as a test service for the [W3C Distributed Tracing Validation Service](https://github.com/w3c/trace-context/tree/master/test).
It is implemented according to [this instructions](https://github.com/w3c/trace-context/tree/master/test#implement-test-service).

## Usage

1. Build and start the test service endpoint:
```sh
$ ./example_w3c_tracecontext_test
$ ./w3c_tracecontext_test
Listening to http://localhost:30000/test
```
A custom port number for the test service to listen to can be specified:
```sh
$ ./example_w3c_tracecontext_test 31339
$ ./w3c_tracecontext_test 31339
Listening to http://localhost:31339/test
```
The test service will print the full URI that the validation service can connect to.
Expand All @@ -26,7 +26,7 @@ It is implemented according to [this instructions](https://github.com/w3c/trace-
run the validation service:
```sh
$ docker build --tag w3c_driver .
$ docker run --network host w3c_driver http://localhost:31339/test
$ docker run --network host w3c_driver http://localhost:31339/test
```
3. The validation service will run the test suite and print detailed test results.
4. Stop the test service by pressing enter.

0 comments on commit b20f7e1

Please sign in to comment.