Fix the override of port for ethr mode. (#133)

Co-authored-by: Pankaj Garg <pankaj@intellectualheaven.com>
This commit is contained in:
Pankaj Garg 2020-11-24 18:09:31 -08:00 committed by GitHub
parent b4f4f29b94
commit d81e3edd4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,7 @@ func runClient(testParam EthrTestParam, clientParam ethrClientParam, server stri
if err != nil {
return
}
if !xMode && port != "" {
if !xMode {
// For Ethr to Ethr tests, override the port supplied as part
// of the server name/url.
port = gEthrPortStr