diff --git a/tests/scripts/resource-intensive.js b/tests/scripts/resource-intensive.js index 82f12f6..69d28be 100644 --- a/tests/scripts/resource-intensive.js +++ b/tests/scripts/resource-intensive.js @@ -68,13 +68,25 @@ export function setup() { export default function () { let endpoint = deploy.serviceEndpointForApp(name, namespace, route); - let res = http.get(`${endpoint}?mem=${memoryKib}`, { tags: {memory_kib: memoryKib} }); + let res = http.get(`${endpoint}?mem=${memoryKib}`, { + tags: { + memory_kib: memoryKib, + }, + }); check(res, { "response code was 200": (res) => res.status == 200 }, { memory_kib: memoryKib }); sleep(delay); - res = http.get(`${endpoint}?cpuIter=${cpuIter}`, { tags: {cpu_iter: cpuIter} }); + res = http.get(`${endpoint}?cpuIter=${cpuIter}`, { + tags: { + cpu_iter: cpuIter, + }, + }); check(res, { "response code was 200": (res) => res.status == 200 }, { cpu_iter: cpuIter }); sleep(delay); - res = http.get(`${endpoint}?sleep=${sleepMs}`, { tags: {sleep: sleepMs} }); + res = http.get(`${endpoint}?sleep=${sleepMs}`, { + tags: { + sleep: sleepMs, + }, + }); check(res, { "response code was 200": (res) => res.status == 200 }, { sleep_ms: sleepMs }); sleep(delay); }