emptyObservedState returns an ObservedState with no containers/networks/volumes, suitable for executor tests that don't exercise service-reference resolution.
(project string)
| 124 | // emptyObservedState returns an ObservedState with no containers/networks/volumes, |
| 125 | // suitable for executor tests that don't exercise service-reference resolution. |
| 126 | func emptyObservedState(project string) *ObservedState { |
| 127 | return &ObservedState{ |
| 128 | ProjectName: project, |
| 129 | Containers: map[string][]ObservedContainer{}, |
| 130 | Networks: map[string]ObservedNetwork{}, |
| 131 | Volumes: map[string]ObservedVolume{}, |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | // TestExecutePlanRemoveContainerDropsFromCache verifies that after a container |
| 136 | // is removed, subsequent service-reference resolution does not see its stale ID. |
no outgoing calls
no test coverage detected