mirror of https://github.com/grpc/grpc-node.git
Add logging to tests that fail on new versions
This commit is contained in:
parent
b2007975a1
commit
66f51d1cd2
|
@ -76,6 +76,7 @@ describe('Name Resolver', () => {
|
|||
resultSeen = true;
|
||||
assert(maybeEndpointList.ok);
|
||||
const endpointList = maybeEndpointList.value;
|
||||
console.log(`Endpoint list: ${JSON.stringify(endpointList)}`);
|
||||
assert(
|
||||
hasMatchingAddress(endpointList, { host: '127.0.0.1', port: 50051 })
|
||||
);
|
||||
|
@ -108,6 +109,7 @@ describe('Name Resolver', () => {
|
|||
resultSeen = true;
|
||||
assert(maybeEndpointList.ok);
|
||||
const endpointList = maybeEndpointList.value;
|
||||
console.log(`Endpoint list: ${JSON.stringify(endpointList)}`);
|
||||
assert(
|
||||
hasMatchingAddress(endpointList, { host: '127.0.0.1', port: 443 })
|
||||
);
|
||||
|
@ -440,6 +442,7 @@ describe('Name Resolver', () => {
|
|||
) => {
|
||||
assert(maybeEndpointList.ok);
|
||||
const endpointList = maybeEndpointList.value;
|
||||
console.log(`Endpoint list: ${JSON.stringify(endpointList)}`);
|
||||
assert(
|
||||
hasMatchingAddress(endpointList, { host: '127.0.0.1', port: 443 })
|
||||
);
|
||||
|
@ -473,6 +476,7 @@ describe('Name Resolver', () => {
|
|||
serviceConfig: StatusOr<ServiceConfig> | null,
|
||||
resolutionNote: string
|
||||
) => {
|
||||
console.log(`Enpoint list: ${JSON.stringify(maybeEndpointList)}`);
|
||||
assert(!maybeEndpointList.ok);
|
||||
resultCount += 1;
|
||||
if (resultCount === 1) {
|
||||
|
|
Loading…
Reference in New Issue