test: run_stress_test.sh — полный стресс-тест всех примеров

This commit is contained in:
“Naeel”
2026-03-11 11:14:06 +04:00
parent 6c6040d8f8
commit 3026d032b3
15 changed files with 1492 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
sless_function.hello_job: Refreshing state... [name=hello-job]
sless_function.hello_http: Refreshing state... [name=hello-http]
sless_trigger.hello_http: Refreshing state... [name=hello-http-trigger]
sless_job.hello_run: Refreshing state... [name=hello-run]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# sless_function.hello_http will be updated in-place
~ resource "sless_function" "hello_http" {
~ build_timeout_sec = 300 -> (known after apply)
~ code_hash = "847def02d312614d511fab15b1c6fcf0ef883c564e79a5c52b0d25b917ebc130" -> (known after apply)
+ env_vars = {
+ "GREETING" = "e2e-test"
}
~ image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-hello-http:b2c713740a8d" -> (known after apply)
~ memory_mb = 128 -> 256
name = "hello-http"
# (5 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
sless_function.hello_http: Modifying... [name=hello-http]
sless_function.hello_http: Modifications complete after 0s [name=hello-http]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
Outputs:
job_completion_time = "2026-03-11T06:47:08Z"
job_message = "{\"input\":[100,200,300],\"sum\":600,\"avg\":200,\"count\":3}"
job_phase = "Succeeded"
trigger_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/hello-http"