danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 1 | /* |
| 2 | * ============LICENSE_START======================================================= |
| 3 | * Copyright (C) 2024 Nordix Foundation |
| 4 | * ================================================================================ |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | * |
| 17 | * SPDX-License-Identifier: Apache-2.0 |
| 18 | * ============LICENSE_END========================================================= |
| 19 | */ |
| 20 | |
| 21 | import { check } from 'k6'; |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 22 | import { Trend } from 'k6/metrics'; |
danielhanrahan | a1cdf73 | 2024-08-16 11:09:25 +0100 | [diff] [blame] | 23 | import { Reader } from 'k6/x/kafka'; |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 24 | import { |
| 25 | TOTAL_CM_HANDLES, READ_DATA_FOR_CM_HANDLE_DELAY_MS, WRITE_DATA_FOR_CM_HANDLE_DELAY_MS, |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 26 | makeCustomSummaryReport, makeBatchOfCmHandleIds, LEGACY_BATCH_THROUGHPUT_TEST_BATCH_SIZE, |
| 27 | LEGACY_BATCH_TOPIC_NAME, KAFKA_BOOTSTRAP_SERVERS, REGISTRATION_BATCH_SIZE, |
| 28 | LEGACY_BATCH_THROUGHPUT_TEST_NUMBER_OF_REQUESTS |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 29 | } from './common/utils.js'; |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 30 | import { createCmHandles, deleteCmHandles, waitForAllCmHandlesToBeReady } from './common/cmhandle-crud.js'; |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 31 | import { executeCmHandleSearch, executeCmHandleIdSearch } from './common/search-base.js'; |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 32 | import { passthroughRead, passthroughWrite, legacyBatchRead } from './common/passthrough-crud.js'; |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 33 | |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 34 | let cmHandlesCreatedPerSecondTrend = new Trend('cmhandles_created_per_second', false); |
| 35 | let cmHandlesDeletedPerSecondTrend = new Trend('cmhandles_deleted_per_second', false); |
danielhanrahan | a1cdf73 | 2024-08-16 11:09:25 +0100 | [diff] [blame] | 36 | let passthroughReadNcmpOverheadTrend = new Trend('ncmp_overhead_passthrough_read', true); |
| 37 | let passthroughReadNcmpOverheadTrendWithAlternateId = new Trend('ncmp_overhead_passthrough_read_alt_id', true); |
| 38 | let passthroughWriteNcmpOverheadTrend = new Trend('ncmp_overhead_passthrough_write', true); |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 39 | let passthroughWriteNcmpOverheadTrendWithAlternateId = new Trend('ncmp_overhead_passthrough_write_alt_id', true); |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 40 | let idSearchDurationTrend = new Trend('id_search_duration', true); |
| 41 | let cmSearchDurationTrend = new Trend('cm_search_duration', true); |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 42 | let legacyBatchReadCmHandlesPerSecondTrend = new Trend('legacy_batch_read_cmhandles_per_second', false); |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 43 | |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 44 | const legacyBatchEventReader = new Reader({ |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 45 | brokers: KAFKA_BOOTSTRAP_SERVERS, |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 46 | topic: LEGACY_BATCH_TOPIC_NAME, |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 47 | }); |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 48 | |
| 49 | const DURATION = '15m'; |
halil.cakal | 8ea90c9 | 2024-09-18 12:48:27 +0100 | [diff] [blame] | 50 | const LEGACY_BATCH_THROUGHPUT_TEST_START_TIME = '15m30s'; |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 51 | |
| 52 | export const options = { |
danielhanrahan | 4dac130 | 2024-08-30 15:03:06 +0100 | [diff] [blame] | 53 | setupTimeout: '8m', |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 54 | teardownTimeout: '6m', |
| 55 | scenarios: { |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 56 | passthrough_read_scenario: { |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 57 | executor: 'constant-vus', |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 58 | exec: 'passthroughReadScenario', |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 59 | vus: 4, |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 60 | duration: DURATION, |
| 61 | }, |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 62 | passthrough_read_alt_id_scenario: { |
seanbeirne | 2855952 | 2024-07-19 16:55:06 +0100 | [diff] [blame] | 63 | executor: 'constant-vus', |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 64 | exec: 'passthroughReadAltIdScenario', |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 65 | vus: 4, |
seanbeirne | 2855952 | 2024-07-19 16:55:06 +0100 | [diff] [blame] | 66 | duration: DURATION, |
| 67 | }, |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 68 | passthrough_write_scenario: { |
halil.cakal | fcc81ee | 2024-07-11 14:54:57 +0100 | [diff] [blame] | 69 | executor: 'constant-vus', |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 70 | exec: 'passthroughWriteScenario', |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 71 | vus: 4, |
halil.cakal | fcc81ee | 2024-07-11 14:54:57 +0100 | [diff] [blame] | 72 | duration: DURATION, |
| 73 | }, |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 74 | passthrough_write_alt_id_scenario: { |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 75 | executor: 'constant-vus', |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 76 | exec: 'passthroughWriteAltIdScenario', |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 77 | vus: 4, |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 78 | duration: DURATION, |
| 79 | }, |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 80 | cm_handle_id_search_scenario: { |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 81 | executor: 'constant-vus', |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 82 | exec: 'cmHandleIdSearchScenario', |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 83 | vus: 5, |
| 84 | duration: DURATION, |
| 85 | }, |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 86 | cm_handle_search_scenario: { |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 87 | executor: 'constant-vus', |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 88 | exec: 'cmHandleSearchScenario', |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 89 | vus: 5, |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 90 | duration: DURATION, |
| 91 | }, |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 92 | legacy_batch_produce_scenario: { |
| 93 | executor: 'shared-iterations', |
| 94 | exec: 'legacyBatchProduceScenario', |
| 95 | vus: 2, |
| 96 | iterations: LEGACY_BATCH_THROUGHPUT_TEST_NUMBER_OF_REQUESTS, |
halil.cakal | 8ea90c9 | 2024-09-18 12:48:27 +0100 | [diff] [blame] | 97 | startTime: LEGACY_BATCH_THROUGHPUT_TEST_START_TIME, |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 98 | }, |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 99 | legacy_batch_consume_scenario: { |
| 100 | executor: 'per-vu-iterations', |
| 101 | exec: 'legacyBatchConsumeScenario', |
| 102 | vus: 1, |
| 103 | iterations: 1, |
halil.cakal | 8ea90c9 | 2024-09-18 12:48:27 +0100 | [diff] [blame] | 104 | startTime: LEGACY_BATCH_THROUGHPUT_TEST_START_TIME, |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 105 | } |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 106 | }, |
| 107 | thresholds: { |
danielhanrahan | 4cb6239 | 2024-08-27 17:57:26 +0100 | [diff] [blame] | 108 | 'http_req_failed': ['rate == 0'], |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 109 | 'cmhandles_created_per_second': ['avg >= 22'], |
| 110 | 'cmhandles_deleted_per_second': ['avg >= 22'], |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 111 | 'ncmp_overhead_passthrough_read': ['avg <= 40'], |
| 112 | 'ncmp_overhead_passthrough_write': ['avg <= 40'], |
| 113 | 'ncmp_overhead_passthrough_read_alt_id': ['avg <= 40'], |
| 114 | 'ncmp_overhead_passthrough_write_alt_id': ['avg <= 40'], |
| 115 | 'id_search_duration': ['avg <= 2000'], |
| 116 | 'cm_search_duration': ['avg <= 15000'], |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 117 | 'legacy_batch_read_cmhandles_per_second': ['avg >= 150'], |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 118 | }, |
| 119 | }; |
| 120 | |
| 121 | export function setup() { |
halil.cakal | 1745d20 | 2024-08-06 14:02:49 +0100 | [diff] [blame] | 122 | const startTimeInMillis = Date.now(); |
| 123 | |
| 124 | const TOTAL_BATCHES = Math.ceil(TOTAL_CM_HANDLES / REGISTRATION_BATCH_SIZE); |
| 125 | for (let batchNumber = 0; batchNumber < TOTAL_BATCHES; batchNumber++) { |
| 126 | const nextBatchOfCmHandleIds = makeBatchOfCmHandleIds(REGISTRATION_BATCH_SIZE, batchNumber); |
| 127 | const response = createCmHandles(nextBatchOfCmHandleIds); |
| 128 | check(response, { 'create CM-handles status equals 200': (r) => r.status === 200 }); |
| 129 | } |
| 130 | |
| 131 | waitForAllCmHandlesToBeReady(); |
| 132 | |
| 133 | const endTimeInMillis = Date.now(); |
| 134 | const totalRegistrationTimeInSeconds = (endTimeInMillis - startTimeInMillis) / 1000.0; |
| 135 | |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 136 | cmHandlesCreatedPerSecondTrend.add(TOTAL_CM_HANDLES / totalRegistrationTimeInSeconds); |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 137 | } |
| 138 | |
| 139 | export function teardown() { |
halil.cakal | 1745d20 | 2024-08-06 14:02:49 +0100 | [diff] [blame] | 140 | const startTimeInMillis = Date.now(); |
| 141 | |
egernug | 2bdef26 | 2024-09-06 12:09:31 +0100 | [diff] [blame] | 142 | let DEREGISTERED_CM_HANDLES = 0 |
halil.cakal | 1745d20 | 2024-08-06 14:02:49 +0100 | [diff] [blame] | 143 | const TOTAL_BATCHES = Math.ceil(TOTAL_CM_HANDLES / REGISTRATION_BATCH_SIZE); |
| 144 | for (let batchNumber = 0; batchNumber < TOTAL_BATCHES; batchNumber++) { |
| 145 | const nextBatchOfCmHandleIds = makeBatchOfCmHandleIds(REGISTRATION_BATCH_SIZE, batchNumber); |
| 146 | const response = deleteCmHandles(nextBatchOfCmHandleIds); |
egernug | 2bdef26 | 2024-09-06 12:09:31 +0100 | [diff] [blame] | 147 | if (response.error_code === 0) { |
| 148 | DEREGISTERED_CM_HANDLES += REGISTRATION_BATCH_SIZE |
| 149 | } |
halil.cakal | 1745d20 | 2024-08-06 14:02:49 +0100 | [diff] [blame] | 150 | check(response, { 'delete CM-handles status equals 200': (r) => r.status === 200 }); |
| 151 | } |
| 152 | |
| 153 | const endTimeInMillis = Date.now(); |
| 154 | const totalDeregistrationTimeInSeconds = (endTimeInMillis - startTimeInMillis) / 1000.0; |
| 155 | |
egernug | 2bdef26 | 2024-09-06 12:09:31 +0100 | [diff] [blame] | 156 | cmHandlesDeletedPerSecondTrend.add(DEREGISTERED_CM_HANDLES / totalDeregistrationTimeInSeconds); |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 157 | } |
| 158 | |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 159 | export function passthroughReadScenario() { |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 160 | const response = passthroughRead(false); |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 161 | if (check(response, { 'passthrough read status equals 200': (r) => r.status === 200 })) { |
| 162 | const overhead = response.timings.duration - READ_DATA_FOR_CM_HANDLE_DELAY_MS; |
| 163 | passthroughReadNcmpOverheadTrend.add(overhead); |
| 164 | } |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 165 | } |
| 166 | |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 167 | export function passthroughReadAltIdScenario() { |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 168 | const response = passthroughRead(true); |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 169 | if (check(response, { 'passthrough read with alternate Id status equals 200': (r) => r.status === 200 })) { |
| 170 | const overhead = response.timings.duration - READ_DATA_FOR_CM_HANDLE_DELAY_MS; |
| 171 | passthroughReadNcmpOverheadTrendWithAlternateId.add(overhead); |
| 172 | } |
seanbeirne | 2855952 | 2024-07-19 16:55:06 +0100 | [diff] [blame] | 173 | } |
| 174 | |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 175 | export function passthroughWriteScenario() { |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 176 | const response = passthroughWrite(false); |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 177 | if (check(response, { 'passthrough write status equals 201': (r) => r.status === 201 })) { |
| 178 | const overhead = response.timings.duration - WRITE_DATA_FOR_CM_HANDLE_DELAY_MS; |
| 179 | passthroughWriteNcmpOverheadTrend.add(overhead); |
| 180 | } |
halil.cakal | fcc81ee | 2024-07-11 14:54:57 +0100 | [diff] [blame] | 181 | } |
| 182 | |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 183 | export function passthroughWriteAltIdScenario() { |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 184 | const response = passthroughWrite(true); |
| 185 | if (check(response, { 'passthrough write with alternate Id status equals 201': (r) => r.status === 201 })) { |
| 186 | const overhead = response.timings.duration - WRITE_DATA_FOR_CM_HANDLE_DELAY_MS; |
| 187 | passthroughWriteNcmpOverheadTrendWithAlternateId.add(overhead); |
| 188 | } |
| 189 | } |
| 190 | |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 191 | export function cmHandleIdSearchScenario() { |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 192 | const response = executeCmHandleIdSearch('module-and-properties'); |
danielhanrahan | 4dac130 | 2024-08-30 15:03:06 +0100 | [diff] [blame] | 193 | if (check(response, { 'CM handle ID search status equals 200': (r) => r.status === 200 }) |
| 194 | && check(response, { 'CM handle ID search returned expected CM-handles': (r) => r.json('#') === TOTAL_CM_HANDLES })) { |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 195 | idSearchDurationTrend.add(response.timings.duration); |
| 196 | } |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 197 | } |
| 198 | |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 199 | export function cmHandleSearchScenario() { |
danielhanrahan | f2e1e25 | 2024-08-25 21:35:19 +0100 | [diff] [blame] | 200 | const response = executeCmHandleSearch('module-and-properties'); |
danielhanrahan | 4dac130 | 2024-08-30 15:03:06 +0100 | [diff] [blame] | 201 | if (check(response, { 'CM handle search status equals 200': (r) => r.status === 200 }) |
| 202 | && check(response, { 'CM handle search returned expected CM-handles': (r) => r.json('#') === TOTAL_CM_HANDLES })) { |
danielhanrahan | 78894db | 2024-08-16 13:56:14 +0100 | [diff] [blame] | 203 | cmSearchDurationTrend.add(response.timings.duration); |
| 204 | } |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 205 | } |
| 206 | |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 207 | export function legacyBatchProduceScenario() { |
| 208 | const nextBatchOfCmHandleIds = makeBatchOfCmHandleIds(LEGACY_BATCH_THROUGHPUT_TEST_BATCH_SIZE, 0); |
| 209 | const response = legacyBatchRead(nextBatchOfCmHandleIds); |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 210 | check(response, { 'data operation batch read status equals 200': (r) => r.status === 200 }); |
| 211 | } |
| 212 | |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 213 | export function legacyBatchConsumeScenario() { |
| 214 | const TOTAL_MESSAGES_TO_CONSUME = LEGACY_BATCH_THROUGHPUT_TEST_NUMBER_OF_REQUESTS * LEGACY_BATCH_THROUGHPUT_TEST_BATCH_SIZE; |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 215 | try { |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 216 | let messagesConsumed = 0; |
| 217 | let startTime = Date.now(); |
| 218 | |
| 219 | while (messagesConsumed < TOTAL_MESSAGES_TO_CONSUME) { |
| 220 | let messages = legacyBatchEventReader.consume({ limit: 1000 }); |
| 221 | |
| 222 | if (messages.length > 0) { |
| 223 | messagesConsumed += messages.length; |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | let endTime = Date.now(); |
| 228 | const timeToConsumeMessagesInSeconds = (endTime - startTime) / 1000.0; |
| 229 | legacyBatchReadCmHandlesPerSecondTrend.add(TOTAL_MESSAGES_TO_CONSUME / timeToConsumeMessagesInSeconds); |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 230 | } catch (error) { |
halil.cakal | fc49910 | 2024-08-28 10:19:26 +0100 | [diff] [blame] | 231 | legacyBatchReadCmHandlesPerSecondTrend.add(0); |
halil.cakal | 65b870b | 2024-07-25 11:12:29 +0100 | [diff] [blame] | 232 | console.error(error); |
| 233 | } |
| 234 | } |
| 235 | |
danielhanrahan | 4e9f68c | 2024-06-28 13:43:35 +0100 | [diff] [blame] | 236 | export function handleSummary(data) { |
| 237 | return { |
| 238 | stdout: makeCustomSummaryReport(data, options), |
| 239 | }; |
| 240 | } |