guestdrivers: rework test

This commit is contained in:
Yousong Zhou
2020-06-16 10:16:41 +08:00
parent 55255ef61b
commit e27a12ec61
+3 -1
View File
@@ -21,5 +21,7 @@ func TestSKVMGuestDriver_GetGuestVncInfo(t *testing.T) {
address: 0.0.0.0:5901
auth: none
Client: none`
t.Logf("port=%d", findVNCPort(results))
if want, got := 5901, findVNCPort(results); got != want {
t.Errorf("bad port, want %d, got %d", want, got)
}
}