Skip to content

Commit

Permalink
Updated operator app version to include load test in suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
gmsdelmundo committed Feb 19, 2025
1 parent 20cb93f commit b44a151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion performance-testing/uid2-core/k6-test-core-ramping.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const CORE_API_TOKEN = "UID2-O-L-999-dp9Dt0.JVoGpynN4J8nMA7FxmzsavxJa8B9H74y9xdE
const CORE_BASE_URL = 'http://localhost:8088';

const AUTH_HEADERS = { headers: { 'Authorization': `Bearer ${CORE_API_TOKEN}` }};
const HEADERS = { headers: { ...AUTH_HEADERS.headers, 'X-UID2-AppVersion': 'uid2-operator=0.0.0' }};
const HEADERS = { headers: { ...AUTH_HEADERS.headers, 'X-UID2-AppVersion': 'uid2-operator=0.0.0-local-load-test' }};

const STAGE_DURATION = '120s';
const STAGE_LOAD_MULTIPLIER = [
Expand Down
2 changes: 1 addition & 1 deletion performance-testing/uid2-core/k6-test-core-static.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const CORE_API_TOKEN = "UID2-O-L-999-dp9Dt0.JVoGpynN4J8nMA7FxmzsavxJa8B9H74y9xdE
const CORE_BASE_URL = 'http://localhost:8088';

const AUTH_HEADERS = { headers: { 'Authorization': `Bearer ${CORE_API_TOKEN}` }};
const HEADERS = { headers: { ...AUTH_HEADERS.headers, 'X-UID2-AppVersion': 'uid2-operator=0.0.0' }};
const HEADERS = { headers: { ...AUTH_HEADERS.headers, 'X-UID2-AppVersion': 'uid2-operator=0.0.0-local-load-test' }};

const DURATION = '1m';
const RATE_MULTIPLIER = 10;
Expand Down

0 comments on commit b44a151

Please sign in to comment.