test: add logging tests

The main purpose of these tests is to make sure that the log actually
contains output from the container. We don't test the timestamps or the
stream that's stated at the moment.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
Aleksa Sarai 2017-03-22 23:07:15 +11:00
parent c31f2cf0ee
commit 65527da361
No known key found for this signature in database
GPG key ID: 9E18AA267DDB8DB4
11 changed files with 203 additions and 11 deletions

View file

@ -56,8 +56,6 @@ type RootConfig struct {
// LogDir is the default log directory were all logs will go unless kubelet
// tells us to put them somewhere else.
//
// TODO: This is currently unused until the conmon logging rewrite is done.
LogDir string `toml:"log_dir"`
}