(fm framework.Framework, containerID string)
| 47 | } |
| 48 | |
| 49 | func waitForContainerInfo(fm framework.Framework, containerID string) { |
| 50 | err := framework.RetryForDuration(func() error { |
| 51 | _, err := fm.Cadvisor().Client().DockerContainer(containerID, &v1.ContainerInfoRequest{NumStats: 1}) |
| 52 | if err != nil { |
| 53 | return err |
| 54 | } |
| 55 | return nil |
| 56 | }, 5*time.Second) |
| 57 | assert.NoError(fm.T(), err) |
| 58 | } |
no test coverage detected
searching dependent graphs…