Все проверки выполнены успешно
CI / test (push) Successful in 2m32s
Docker / Build and publish worker image (push) Successful in 18m17s
- reconnect safely after token rotation and retry leased results - reject malformed tasks and remove production cluster debug mutation - validate environment files and require immutable container images BREAKING CHANGE: Docker install, deploy, and Compose now require an immutable repository@sha256 image reference.
17 строки
439 B
Go
17 строки
439 B
Go
package checkexec
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestSupportsKindMatchesExecuteDispatch(t *testing.T) {
|
|
for _, kind := range []string{"http", "ssl", "ssh", "ftp", "dns", "whois", "bssl", "llm", "llm-http", "ping", "tcp", "udp"} {
|
|
assert.Truef(t, SupportsKind(kind), "kind %q", kind)
|
|
}
|
|
for _, kind := range []string{"", "rkn", "smtp"} {
|
|
assert.Falsef(t, SupportsKind(kind), "kind %q", kind)
|
|
}
|
|
}
|