Use file-based eventer for integration tests

This adds several top-level Podman flags for specifying different
events backend types, which are then used in CI. It resolves a
number of serious issues with events-based testing.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
Matthew Heon
2019-07-11 13:32:42 -04:00
parent 58b1b99982
commit c528d7a622
21 changed files with 121 additions and 44 deletions

View File

@ -187,7 +187,7 @@ func (c *Container) StopWithTimeout(timeout uint) error {
c.state.State == ContainerStateExited {
return ErrCtrStopped
}
defer c.newContainerEvent(events.Stop)
return c.stop(timeout)
}