fix(platform): harden queries and batch vehicle search
This commit is contained in:
@@ -1113,6 +1113,9 @@ func TestHandlerSourceReadiness(t *testing.T) {
|
||||
if body.Data.PlatformRelease != "platform-source-test" {
|
||||
t.Fatalf("source readiness should expose runtime release, got %+v", body.Data)
|
||||
}
|
||||
if body.Data.TotalVehicles != body.Data.BoundVehicles+body.Data.IdentityRequiredVehicles {
|
||||
t.Fatalf("source readiness vehicle identity population should reconcile, got %+v", body.Data)
|
||||
}
|
||||
if len(body.Data.Sources) < len(canonicalVehicleProtocols) {
|
||||
t.Fatalf("source readiness should expose canonical protocol slots, got %+v", body.Data.Sources)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user