chore: use generic host names in test fixtures
publish / publish (push) Successful in 1m4s

This commit is contained in:
sam committed 2026-11-16 00:13:06 +11:00
1 parent b98620cc5b
commit d74535c0d3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ import (
)
const firing = `{"version":"4","status":"firing","receiver":"archie","groupKey":"{}:{alertname=\"DiskPressure\"}",
"alerts":[{"status":"firing","labels":{"alertname":"DiskPressure","instance":"carina","mountpoint":"/tmp"},
"alerts":[{"status":"firing","labels":{"alertname":"DiskPressure","instance":"web-1","mountpoint":"/tmp"},
"annotations":{"summary":"/tmp is 85% full"},"startsAt":"2026-11-15T06:00:00Z","endsAt":"0001-01-01T00:00:00Z",
"fingerprint":"a1b2c3"}]}`
+1 -1
View File
@@ -12,7 +12,7 @@ import (
)
// TestHostKeyPinHoldsOnAHostWithSeveralKeys reproduces the pin failing on a
// host that also holds a key the client prefers (carina offers ECDSA before
// host that also holds a key the client prefers (a typical host offers ECDSA before
// ed25519): the pinned key must be accepted, and a key that isn't pinned
// must still be refused.
func TestHostKeyPinHoldsOnAHostWithSeveralKeys(t *testing.T) {