Skip to content

Commit c7db06c

Browse files
committed
Put back handleSummary function
1 parent f820512 commit c7db06c

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

performance-testing/uid2-operator/k6-identity-map.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ export async function setup() {
9595
};
9696
}
9797

98+
// Remove this function if you are running manually inside a GCP/Azure/AWS instance using docker
99+
export function handleSummary(data) {
100+
return {
101+
'summary.json': JSON.stringify(data),
102+
}
103+
}
104+
98105
// Scenarios
99106
export async function tokenGenerate(data) {
100107
const endpoint = '/v2/token/generate';

performance-testing/uid2-operator/k6-token-generate.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ export async function setup() {
7777
};
7878
}
7979

80+
// Remove this function if you are running manually inside a GCP/Azure/AWS instance using docker
81+
export function handleSummary(data) {
82+
return {
83+
'summary.json': JSON.stringify(data),
84+
}
85+
}
86+
8087
// Scenarios
8188
export async function tokenGenerate(data) {
8289
const endpoint = '/v2/token/generate';

0 commit comments

Comments
 (0)