Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 8addce4

Browse files
author
Chris Wiechmann
committed
Payload folder must be lower-case
1 parent 7acdd9d commit 8addce4

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

apibuilder4elastic/test/trafficMonitorAPI/asAdmin/payload/test_payload.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ describe('Payload', function () {
131131
});
132132

133133
it('[Payload-0005] Should return REGIONAL sent payload for leg 0', () => {
134-
const testPayload = fs.readFileSync(`${payloadFolder}/US-DC1/2020-07-03/08.55/0455ff5e82267be8182a553d-0-sent`, { encoding: "UTF-8" });
134+
const testPayload = fs.readFileSync(`${payloadFolder}/us-dc2/2020-07-03/08.55/0455ff5e82267be8182a553d-0-sent`, { encoding: "UTF-8" });
135135
return requestAsync({
136136
method: 'GET', //
137-
uri: `http://localhost:${server.apibuilder.port}/api/elk/v1/api/router/service/instance-1/ops/stream/0455ff5e82267be8182a553d/0/sent?region=US-DC1`,
137+
uri: `http://localhost:${server.apibuilder.port}/api/elk/v1/api/router/service/instance-1/ops/stream/0455ff5e82267be8182a553d/0/sent?region=US-DC2`,
138138
headers: {
139139
'cookie': 'VIDUSR=Getinfo-0001-DAVID-1597762865-iUI5a8+v+zLkNA%3d%3d; APIMANAGERSTATIC=92122e5c-6bb3-4fd1-ad2f-08b65554d116',
140140
'csrf-token': '04F9F07E59F588CDE469FC367A12ED3A4B845FDA9A9AE2D9A77686823067CDDC'

0 commit comments

Comments
 (0)