diff options
author | Daniel Hanrahan <daniel.hanrahan@est.tech> | 2024-07-26 14:55:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-07-26 14:55:31 +0000 |
commit | 7e9ab4ef8fe13103be44cb4fd9c0691d7a520875 (patch) | |
tree | f0b01a957e82339725cdc9d21d5937947d2baec7 | |
parent | 2111cc64d6f0a4fa84b3865e25955553fdb947bb (diff) | |
parent | df58456e7fbbdb2504b1acb994bf74d884856fcb (diff) |
Merge "[k6] Fix response code check for passthrough write test"
-rw-r--r-- | k6-tests/ncmp/ncmp-kpi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/k6-tests/ncmp/ncmp-kpi.js b/k6-tests/ncmp/ncmp-kpi.js index 96c6263d32..b4c476ecb2 100644 --- a/k6-tests/ncmp/ncmp-kpi.js +++ b/k6-tests/ncmp/ncmp-kpi.js @@ -97,7 +97,7 @@ export function passthrough_read() { export function passthrough_write() { const response = passthroughWrite(); - check(response, { 'passthrough write status equals 200': (r) => r.status === 200 }); + check(response, { 'passthrough write status equals 201': (r) => r.status === 201 }); const overhead = response.timings.duration - WRITE_DATA_FOR_CM_HANDLE_DELAY_MS; passthroughWriteNcmpOverheadTrend.add(overhead); } |