mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 06:44:23 +01:00
console-watcher: use console watcher to monitor guest console outputs
Import new console watcher to monitor guest console outputs, and will be only effective when we turn on enable_debug option. Guest console outputs may include guest kernel debug info, agent debug info, etc. Fixes: #389 Signed-off-by: Penny Zheng penny.zheng@arm.com
This commit is contained in:
@@ -314,9 +314,10 @@ func TestQemuGetSandboxConsole(t *testing.T) {
|
||||
sandboxID := "testSandboxID"
|
||||
expected := filepath.Join(q.store.RunVMStoragePath(), sandboxID, consoleSocket)
|
||||
|
||||
result, err := q.getSandboxConsole(sandboxID)
|
||||
proto, result, err := q.getSandboxConsole(sandboxID)
|
||||
assert.NoError(err)
|
||||
assert.Equal(result, expected)
|
||||
assert.Equal(proto, consoleProtoUnix)
|
||||
}
|
||||
|
||||
func TestQemuCapabilities(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user