Support configurable TLS probes in the API and dashboard
This commit is contained in:
1 parent
0bde5627f0
commit
c7fdd2c430
38 files changed
+495
-203
No files matched your search
@@ -703,7 +703,7 @@ func TestExpectedCheckCountReflectsInboundChecksConfigChange(t *testing.T) {
|
||||
// Shrink the inbound check config to a single TCP port, no ICMP — an
|
||||
// admin API change made between assignment and aggregation. Port 22
|
||||
// still auto-triggers the extra "ssh" check (see expectedCheckCount).
|
||||
if err := d.SetInboundChecks(ctx, []int{22}, false); err != nil {
|
||||
if err := d.SetInboundChecks(ctx, []int{22}, false, nil); err != nil {
|
||||
t.Fatalf("set inbound checks: %v", err)
|
||||
}
|
||||
|
||||
@@ -812,7 +812,7 @@ func TestExpectedCheckCountIncludesTLSAndSSHForPorts443And22(t *testing.T) {
|
||||
})
|
||||
_ = o.MarkEgressComplete(ctx, ip.ID)
|
||||
|
||||
if err := d.SetInboundChecks(ctx, []int{22, 443}, false); err != nil {
|
||||
if err := d.SetInboundChecks(ctx, []int{22, 443}, false, nil); err != nil {
|
||||
t.Fatalf("set inbound checks: %v", err)
|
||||
}
|
||||
|
||||
@@ -858,7 +858,7 @@ func TestAggregationWaitsForTLSAndSSHResults(t *testing.T) {
|
||||
})
|
||||
_ = o.MarkEgressComplete(ctx, ip.ID)
|
||||
|
||||
if err := d.SetInboundChecks(ctx, []int{22, 443}, false); err != nil {
|
||||
if err := d.SetInboundChecks(ctx, []int{22, 443}, false, nil); err != nil {
|
||||
t.Fatalf("set inbound checks: %v", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user