Commit 8b7e701
committed
fix(tests/startup): measure test time from spawn instead of start
The process startup time is included in spawn, not start. Measuring the
time it takes to start is incorrect. However, let's keep the API calls
in the measurement as this is used as an upper bound to validate the
reported startup time is meaningful.
Also, remove the 400ms sleep as start already waits for the vm to be up.
Signed-off-by: Riccardo Mancini <mancio@amazon.com>1 parent a8f5d78 commit 8b7e701
File tree
1 file changed
+4
-5
lines changed- tests/integration_tests/performance
1 file changed
+4
-5
lines changedLines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
0 commit comments