Add signal tests to test-server (#4653)

* add signal tests to test-server

* update action enum
This commit is contained in:
lukasIO
2026-07-09 16:07:37 +02:00
committed by GitHub
parent cb46452b5d
commit aff752a4bc
4 changed files with 935 additions and 0 deletions
+4
View File
@@ -92,6 +92,10 @@ func (h *mockHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
switch {
case r.URL.Path == "/settings/regions":
h.handleRegions(w, r)
case isValidatePath(r.URL.Path):
h.handleValidate(w, r)
case isSignalPath(r.URL.Path):
h.handleSignal(w, r)
case strings.HasPrefix(r.URL.Path, h.twirpPrefix+"/"):
h.handleTwirp(w, r)
case r.URL.Path == "/" || r.URL.Path == "/_test/health":