Fix minor typos (#11941)

Co-authored-by: Nathan Baulch <nathan.baulch@gmail.com>
This commit is contained in:
Marco Ebert 2024-09-06 23:19:50 +02:00 committed by GitHub
parent 889afa9abd
commit dcfa4507ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 125 additions and 125 deletions

View file

@ -1,6 +1,6 @@
// This is a loadtest under development
// Test here is spec'd to have 100virtual-users
// Other specs currently similar to smoktest
// Other specs currently similar to smoketest
// But loadtest needs testplan that likely uses auth & data-transfer
import http from 'k6/http';
@ -35,7 +35,7 @@ export default function () {
const req3 = {
params: {
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
'Content-Type': 'application/x-www-form-urlencoded'
},
},
method: 'POST',

View file

@ -1,4 +1,4 @@
// smotest.js edited after copy/pasting from https://k6.io docs
// smoketest.js edited after copy/pasting from https://k6.io docs
// Using this like loadtest because of limited cpu/memory/other
import http from 'k6/http';
@ -22,7 +22,7 @@ export const options = {
};
export default function () {
// docs of k6 say this is how to adds host header
// docs of k6 say this is how to add host header
// needed as ingress is created with this host value
const params = {
headers: {'host': 'test.ingress-nginx-controller.ga'},
@ -39,7 +39,7 @@ export default function () {
const req3 = {
params: {
headers: {
'Content-Type': 'application/json'
'Content-Type': 'application/json'
},
},
method: 'POST',