chore: rename search route prefix (#887)

* chore: rename search route prefix

* chore: use builtin time.Duration.Truncate() on latencies

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
peusebiu
2022-10-19 06:46:06 +03:00
committed by GitHub
parent caf88ddb1e
commit 91dd5496fc
13 changed files with 61 additions and 62 deletions
+2 -2
View File
@@ -378,7 +378,7 @@ func TestServerCVEResponseGQL(t *testing.T) {
}(ctlr)
// wait till ready
for {
res, err := resty.R().Get(url + constants.ExtSearchPrefix)
res, err := resty.R().Get(url + constants.FullSearchPrefix)
if err == nil && res.StatusCode() == 422 {
break
}
@@ -787,7 +787,7 @@ func TestServerCVEResponse(t *testing.T) {
}(ctlr)
// wait till ready
for {
res, err := resty.R().Get(url + constants.ExtSearchPrefix)
res, err := resty.R().Get(url + constants.FullSearchPrefix)
if err == nil && res.StatusCode() == 422 {
break
}