feat: add empty client spool reconciliation
This commit is contained in:
@@ -170,6 +170,12 @@ layer = "unit"
|
||||
status = "implemented"
|
||||
tests = ["internal/client/agent/handshake_test.go:TestHandshakeRejectsNonWelcome_BH_SES_07"]
|
||||
|
||||
[[requirements]]
|
||||
id = "HP-SES-08"
|
||||
layer = "unit"
|
||||
status = "implemented"
|
||||
tests = ["internal/client/agent/handshake_test.go:TestReconcileSnapshot_HP_SES_08"]
|
||||
|
||||
[[requirements]]
|
||||
id = "HP-SES-05"
|
||||
layer = "integration"
|
||||
|
||||
@@ -39,4 +39,7 @@ func TestWebSocketHelloWelcome_HP_SES_06(t *testing.T) {
|
||||
if result.ID == "" || result.Generation != 1 || result.Protocol.GetMajor() != 1 {
|
||||
t.Fatalf("handshake result = %#v", result)
|
||||
}
|
||||
if reconciled, err := agent.Reconcile(ctx, transport, result, &rvboxv1.ReconcileSnapshot{}, agentproto.DefaultLimits()); err != nil || reconciled == nil {
|
||||
t.Fatalf("empty reconciliation = %#v, %v", reconciled, err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user