Skip to content

Commit

Permalink
Smaller test
Browse files Browse the repository at this point in the history
  • Loading branch information
antweiss committed Aug 25, 2024
1 parent 9c0ae5a commit a0c4a27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
12 changes: 3 additions & 9 deletions k6/api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,9 @@ export const options = {
ramping_up: {
executor: "ramping-vus",
stages: [
{ duration: "10s", target: 20 },
{ duration: "50s", target: 20 },
{ duration: "50s", target: 40 },
{ duration: "50s", target: 60 },
{ duration: "50s", target: 80 },
{ duration: "50s", target: 100 },
{ duration: "50s", target: 120 },
{ duration: "50s", target: 140 },
{ duration: "5s", target: 0 }, // scale down. (optional)
{ duration: "5s", target: 20 },
{ duration: "5s", target: 60 },
{ duration: "10s", target: 100 },
],
},
}
Expand Down
6 changes: 3 additions & 3 deletions k6/testrun.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# k6-resource.yml
#

apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
name: k6-sample
name: crypter-load
spec:
parallelism: 4
parallelism: 2
script:
volumeClaim:
name: perf-test
Expand Down

0 comments on commit a0c4a27

Please sign in to comment.