Skip to content

Commit

Permalink
Update integration tests to match URL obfuscation change
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilmour committed Jun 16, 2020
1 parent 120f824 commit a0e6829
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test/integration/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ COPY ./test/integration/nginx/dd-config.json /etc/dd-config.json
RUN mkdir -p /var/www/
COPY ./test/integration/nginx/index.html /var/www/index.html

COPY ./test/integration/nginx/nginx_integration_test.sh ./
COPY ./test/integration/nginx/expected_*.json ./
# TODO(cgilmour): Hack to pin a dep of msgpack-cli
RUN git clone -b v1.1.2 https://github.com/ugorji/go /root/go/src/github.com/ugorji/go
RUN go get github.com/jakm/msgpack-cli
# Copy these last so that edits don't need as many image rebuild steps
COPY ./test/integration/nginx/nginx_integration_test.sh ./
COPY ./test/integration/nginx/expected_*.json ./
CMD [ "bash", "-x", "./nginx_integration_test.sh"]
2 changes: 1 addition & 1 deletion test/integration/nginx/expected_tc6.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"http.method": "GET",
"http.status_code": "200",
"http.status_line": "200 OK",
"http.url": "http://localhost/proxy/?",
"http.url": "http://localhost/proxy/",
"operation": "GET /proxy/"
},
"metrics": {
Expand Down

0 comments on commit a0e6829

Please sign in to comment.