-
Notifications
You must be signed in to change notification settings - Fork 678
shorten smoke test execution time #942
Comments
Here's a neat way of getting fine-grained timing of shell execution:
Unfortunately this doesn't work for the test scripts since Incidentally, the |
Inserting A few observations from getting times for 130_*....
Perhaps my test VM is somewhat anaemic. |
Most of our tests use just one host, so one way to shorten the execution time would be make the test runner host that host. I hacked this into the config.sh which cut execution time of all single-host test cases from 14 minutes to 4 minutes on my machine. |
Note circle has an ancient version of docker & ubuntu, so this is unlikely On Mon, Jun 22, 2015 at 2:10 PM, Matthias Radestock <
|
I was working on some improvements to gce.sh to make It currently takes ~2mins. My hypothesis was that we could improve this by ~20s if we only make one call to find out all the IPs from GCE, and only ssh'd into the VMs once to setup hosts file. Work in progress is here: 97d0d83 |
Or perhaps it was using the worst docker storage driver ever! Fixed by #1125. |
Fixed in #989.
Fixed in #992. |
Here's the timing of the tests, obtained from a recent CircleCI run
A few observations:
run_all
. This won't improve performance, but will make the test times more consistent.weave launch/launch-dns
typically take close to 2s. It should be half that. The reason is that we are polling the http i/f of the container, and can only do so at an interval >= 1s, since posix does not have a fractional sleep. We could check whether fractional sleep is supported / check whether we are running w/--local
(and hence inside weavexec, which we know to have fractional sleep).The text was updated successfully, but these errors were encountered: