Commit 2e774c0
Babis Chalios
test: add network interface to test_serial_dos test
test_serial_dos test checks that when we send a lot of bytes in the
serial device the emulation logic does not increase indefinitely the
underlying buffer that we use for when the device is set in loopback
mode.
However, the test does not wait for the microVM to start and sometimes
the virtual memory allocation may increase between readings. Add a
network device to the microVM so that we implicitly wait until it has
booted before taking the first measurement.
Signed-off-by: Babis Chalios <bchalios@amazon.es>1 parent 04d3fcd commit 2e774c0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
0 commit comments