Fix integration tests in CI - serve SDS certs from the Docker image not a mounted path

This commit is contained in:
Paul Banks 2021-08-27 21:52:54 +01:00
parent c2174260bc
commit cd6491ea71
2 changed files with 1 additions and 3 deletions

View File

@ -587,8 +587,6 @@ function run_container_jaeger {
function run_container_test-sds-server {
docker run -d --name $(container_name) \
$WORKDIR_SNIPPET \
-v "$PWD/test-sds-server/certs:/usr/sds/certs" \
-w /usr/sds \
$(network_snippet primary) \
"test-sds-server"
}

View File

@ -140,7 +140,7 @@ func makeLoggerCallbacks(log hclog.Logger) *xds.CallbackFuncs {
return nil
},
StreamResponseFunc: func(id int64, req *discovery.DiscoveryRequest, resp *discovery.DiscoveryResponse) {
log.Trace("gRPC stream request", "id", id,
log.Trace("gRPC stream response", "id", id,
"resp.typeURL", resp.TypeUrl,
"resp.version", resp.VersionInfo,
)