| 567 | const defaultSwarmPort = 2477 |
| 568 | |
| 569 | type DockerSwarmSuite struct { |
| 570 | server *httptest.Server |
| 571 | ds *DockerSuite |
| 572 | daemonsLock sync.Mutex // protect access to daemons and portIndex |
| 573 | daemons []*daemon.Daemon |
| 574 | portIndex int |
| 575 | } |
| 576 | |
| 577 | func (s *DockerSwarmSuite) OnTimeout(t *testing.T) { |
| 578 | s.daemonsLock.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected