11 Commits

Author SHA1 Message Date
Alban Crequy
4613819cb9 integration test: accept before kretprobe 2017-05-19 14:49:38 +02:00
Iago López Galeiras
43d9f38c5e Fix various linter issues
Found via shellcheck.
2017-01-18 11:51:41 +01:00
Tom Wilkie
bf91d5b8ba Use gce.sh, config.sh etc from tools. 2016-01-12 21:54:42 +00:00
Tom Wilkie
1ad7b4fce5 Speed up tests on circle.
- Ensure we use up to date build container when running tests.
- Parallelise host setup for integration tests.
- Pass some more circle env vars through to ./tools/tests so the scheduler works.
- Gather coverage from multiple shards.
- Create files as the right owner inside the container.
- Parallelise the circle.yaml
- Parallelise the intergration tests using existing machinery
- Build experimental in parallel.
- Use custom scheduler prefix for integration tests, so schedules don't clash with weave.
2015-11-04 15:35:21 +00:00
Tom Wilkie
7e1a653349 Add status bar to setup.sh, compress the ssh tunnel to make it quicker. 2015-10-20 15:48:46 +00:00
Tom Wilkie
a61800be0f Rejig setup.sh to ensure we use the right version of weave. 2015-10-17 14:04:39 +00:00
Tom Wilkie
ffedae64c6 Make tests more reliable
- Increase waits for system to settle
- Add polling for containers and edges
- Tabs formatting in setup.sh
- 300_internet_edge: Don't let curl fail in subshell (main source of flakyness)
- Make last param (count) optional for has_container (from Paul)
2015-10-10 10:06:34 +00:00
Tom Wilkie
8aa7b37e7e Add tests for short-lived connection between hosts and containers. 2015-10-10 10:06:23 +00:00
Tom Wilkie
8a8520ffc9 Make integration test check API responses contain expected containers.
Also
- Add test for clustering without weave.
- Update test template for docker 1.8
- Prefetch images
- Stop all containers when test finishes.
- Add small sleep after weave launch, and supply all the hosts to ensure IPAM works correctly.
2015-09-30 11:54:15 +00:00
Paul Bellamy
799e5b2ace add integration test for launching scope without weave installed 2015-07-20 15:53:08 +01:00
Paul Bellamy
ff9771f112 initial integration test setup
Integration tests are only run on circle. They checkout the weave
project, and use test helpers from there.

There are just a few basic tests for now, to confirm it works.
2015-06-29 15:40:40 +01:00