Fix integration tests in CI - serve SDS certs from the Docker image not a mounted path
This commit is contained in:
parent
c2174260bc
commit
cd6491ea71
|
@ -587,8 +587,6 @@ function run_container_jaeger {
|
||||||
function run_container_test-sds-server {
|
function run_container_test-sds-server {
|
||||||
docker run -d --name $(container_name) \
|
docker run -d --name $(container_name) \
|
||||||
$WORKDIR_SNIPPET \
|
$WORKDIR_SNIPPET \
|
||||||
-v "$PWD/test-sds-server/certs:/usr/sds/certs" \
|
|
||||||
-w /usr/sds \
|
|
||||||
$(network_snippet primary) \
|
$(network_snippet primary) \
|
||||||
"test-sds-server"
|
"test-sds-server"
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,7 +140,7 @@ func makeLoggerCallbacks(log hclog.Logger) *xds.CallbackFuncs {
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
StreamResponseFunc: func(id int64, req *discovery.DiscoveryRequest, resp *discovery.DiscoveryResponse) {
|
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.typeURL", resp.TypeUrl,
|
||||||
"resp.version", resp.VersionInfo,
|
"resp.version", resp.VersionInfo,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue