Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: load test k6 #2151

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/crunchy/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
global:
config:
dbName: app
dbName: app #test
crunchy: # enable it for TEST and PROD, for PR based pipelines simply use single postgres
enabled: true
crunchyImage: artifacts.developer.gov.bc.ca/bcgov-docker-local/crunchy-postgres-gis:ubi8-16.2-3.3-0
Expand Down
4 changes: 2 additions & 2 deletions tests/load/backend-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { check } from "k6";
import * as http from "k6/http";
import http from "k6/http";
import { Rate } from "k6/metrics";


Expand All @@ -21,7 +21,7 @@ function checkStatus(response, checkName, statusCode = 200) {
}


export default function(token) {
export default function() {
let url = `${__ENV.BACKEND_URL}/v1/users`;
let params = {
headers: {
Expand Down
2 changes: 1 addition & 1 deletion tests/load/frontend-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { check } from "k6";
import * as http from "k6/http";
import http from "k6/http";
import { Rate } from "k6/metrics";


Expand Down
Loading