Closed sidmore closed 3 years ago
I don't see where the std::string
jwt
in perf_client.h
is converted to a char const*
(.c_str()
) and passed to any calls to rpc_tls_client.h
- what am I missing?
I don't see where the
std::string
jwt
inperf_client.h
is converted to achar const*
(.c_str()
) and passed to any calls torpc_tls_client.h
- what am I missing?
actually there are couple of methods....with gen_request being called...was not sure which all need to be updated. I will update the code accordingly.
I don't see where the
std::string
jwt
inperf_client.h
is converted to achar const*
(.c_str()
) and passed to any calls torpc_tls_client.h
- what am I missing?actually there are couple of methods....with gen_request being called...was not sure which all need to be updated. I will update the code accordingly.
I have implemented the change to Pass JWT from argument to the Perfclient.
I don't see where the
std::string
jwt
inperf_client.h
is converted to achar const*
(.c_str()
) and passed to any calls torpc_tls_client.h
- what am I missing?actually there are couple of methods....with gen_request being called...was not sure which all need to be updated. I will update the code accordingly.
I have implemented the change to Pass JWT from argument to the Perfclient.
@sidmore thank you for making this change, it's an excellent idea to add a test for this! Do you think we could add an instance of the perf_test running this in the CI, so it could be tracked along with other configs by cimetrics? What authority/token combination do you use for testing at the moment?
/azp run
sidmore-patch-1@17810 aka 20210121.18 vs master ewma over 50 builds from 17155 to 17795
Could you also run scripts/ci-checks.sh -f
? That should automatically reformat your changes so they comply with the repo guidelines (you will need to commit the result). To make sure it's worked, you can run scripts/ci-checks.sh
, there may be some rare cases where the auto formatting fails, but it's generally quite good.
Could you also run
scripts/ci-checks.sh -f
? That should automatically reformat your changes so they comply with the repo guidelines (you will need to commit the result). To make sure it's worked, you can runscripts/ci-checks.sh
, there may be some rare cases where the auto formatting fails, but it's generally quite good.
yup @achamayou will do. Thanks for the pointers.
/azp run
rpc_tls_client.h changes:
perf_client.h changes: