miki3421 opened a new pull request, #18:
URL: https://github.com/apache/openserverless-testing/pull/18

   ## Problem and change
   
   After #17, the Static test still expects the old single-line landing-page 
sentence. The current operator page separates the welcome heading from the 
static-content description, causing the test to fail despite serving the 
correct page.
   
   Require both the OpenServerless welcome text and the static-content landing 
description, accepting both existing templates. Fetch the page with curl 
HTTP-error handling and bounded connection/request timeouts before checking its 
contents. Preserve the existing retry loop and Kind skip.
   
   This follows merged PR #17 and changes only `tests/7-static.sh` on top of 
current `0.9.0`.
   
   ## Validation
   
   - Seven real local HTTP fixture scenarios passed: current/legacy upstream 
templates accepted; unrelated pages, missing markers and HTTP 404/500 rejected, 
including error responses containing the expected HTML. Kubernetes/OPS setup 
was stubbed for these fixture scenarios.
   - Four injected config/update error scenarios still pass across both 
scripts, preserving the original failing status and stopping execution.
   - Both complete scripts passed on the existing synthetic K3s baseline: 
`5-sys-seaweedfs.sh` and `7-static.sh k3s`, exit 0. Static retried an initial 
404 and then printed SUCCESS STATIC.
   - Bash syntax and `git diff --check` passed. No Alpha/Beta code or amdtest 
files changed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to