diff options
Diffstat (limited to 'k6-tests/ncmp/ncmp-kpi.js')
-rw-r--r-- | k6-tests/ncmp/ncmp-kpi.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/k6-tests/ncmp/ncmp-kpi.js b/k6-tests/ncmp/ncmp-kpi.js index 769b4b2ce1..16c6f7d2b1 100644 --- a/k6-tests/ncmp/ncmp-kpi.js +++ b/k6-tests/ncmp/ncmp-kpi.js @@ -51,7 +51,7 @@ const reader = new Reader({ const DURATION = '15m'; export const options = { - setupTimeout: '6m', + setupTimeout: '8m', teardownTimeout: '6m', scenarios: { passthrough_read: { @@ -181,16 +181,16 @@ export function passthrough_write() { export function id_search_module() { const response = executeCmHandleIdSearch('module'); - if (check(response, { 'CM handle ID search status equals 200': (r) => r.status === 200 })) { - check(response, { 'CM handle ID search returned expected CM-handles': (r) => r.json('#') === TOTAL_CM_HANDLES }); + if (check(response, { 'CM handle ID search status equals 200': (r) => r.status === 200 }) + && check(response, { 'CM handle ID search returned expected CM-handles': (r) => r.json('#') === TOTAL_CM_HANDLES })) { idSearchDurationTrend.add(response.timings.duration); } } export function cm_search_module() { const response = executeCmHandleSearch('module'); - if (check(response, { 'CM handle search status equals 200': (r) => r.status === 200 })) { - check(response, { 'CM handle search returned expected CM-handles': (r) => r.json('#') === TOTAL_CM_HANDLES }); + if (check(response, { 'CM handle search status equals 200': (r) => r.status === 200 }) + && check(response, { 'CM handle search returned expected CM-handles': (r) => r.json('#') === TOTAL_CM_HANDLES })) { cmSearchDurationTrend.add(response.timings.duration); } } |