YBC is loading TS config via TS HTTP UI endpoint: <ts-ip>/varz.
In these 2 tests we stop&start this HTTP server, so YBC should do retries during the endpoint accessing.
Locally the tests work fine, but in Jenkins environment YBC cannot get the TS config.
It should be fixed in YBC - try to increase number of retries and/or timeout:
Hardcoded timeout = 1 sec in ServerConfig():
ControllerStatus status = EasyCurlGet(url, 1000, data);
Hardcoded number of retries in EasyCurlGet():
int retries = 5;
Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
[X] I confirm this issue does not contain any sensitive information.
Jira Link: DB-11420
Description
Fix the tests:
YBC is loading TS config via TS HTTP UI endpoint:
<ts-ip>/varz
. In these 2 tests we stop&start this HTTP server, so YBC should do retries during the endpoint accessing. Locally the tests work fine, but in Jenkins environment YBC cannot get the TS config.It should be fixed in YBC - try to increase number of retries and/or timeout: Hardcoded timeout = 1 sec in
ServerConfig()
:Hardcoded number of retries in
EasyCurlGet()
:Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information