Commit d184522
committed
Make test_logging correctly handle case where threadname has space
Occasionally, the first logging message from a VM would be from a vcpu
thread, which is named `fc_vpu 0` or similar. The previous logic would
then split on spaces, assuming that the "tag" part of the message doesnt
contain a space.
Now, it doesn't tear apart the tag anymore if there's a space in it,
meaning we no longer get spurious failures in the above case.
Signed-off-by: Patrick Roy <[email protected]>1 parent 83514fe commit d184522
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments