This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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"}]}`
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user