-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(test-tooling): fix FabricTestLedger INVALID_ENDORSER_TRANSACTION
* reverts changes of commit 3371772, which seems to be breaking the Fabric Test Ledger Results of further investigation into the root cause done by Peter: 1. The URLs we specify have the `grpcs://` protocol specified meaning that TLS is used for securing the connection. 2. Certificates that are generated by the Fabric-provided boostrap scripts when setting up crypto materials for the ledger are generated with `localhost` as the hostname instead of the IP address of localhost. 3. The C++ gRPC implementation does not support mixing IP addresses and hostnames when it comes to connections that are using TLS, e.g. if the certificate we are using was made out for `localhost` then it won't work for `127.0.0.1` even though technically from our perspective they meaning the same thing (do note however that technically localhost could be set up to resolve to something other than 127.0.0.1 in a DNS server so the difference is meaningful). Source: grpc/grpc#2691 closes #3009 Co-authored-by: Peter Somogyvari <[email protected]> Signed-off-by: André Augusto <[email protected]> Signed-off-by: Peter Somogyvari <[email protected]>
- Loading branch information
1 parent
6a476a0
commit f57ab70
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f57ab70
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
0.05
.cmd-api-server_HTTP_GET_getOpenApiSpecV1
641
ops/sec (±1.74%
)649
ops/sec (±1.66%
)1.01
cmd-api-server_gRPC_GetOpenApiSpecV1
396
ops/sec (±1.66%
)415
ops/sec (±2.27%
)1.05
This comment was automatically generated by workflow using github-action-benchmark.
CC: @petermetz