Merge "[k6] Fix response code check for passthrough write test"
diff --git a/k6-tests/ncmp/ncmp-kpi.js b/k6-tests/ncmp/ncmp-kpi.js
index 96c6263..b4c476e 100644
--- a/k6-tests/ncmp/ncmp-kpi.js
+++ b/k6-tests/ncmp/ncmp-kpi.js
@@ -97,7 +97,7 @@
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);
}