27 Commits

Author SHA1 Message Date
Tom Wilkie
8d1307764f Update to deal with weave/499d6312b7e6159ab94c116127b9c020fe109118 2015-11-10 13:17:37 +00:00
Tom Wilkie
8f957c4f13 Add docker lifecycle controls, containers in states other that running, and a filter for those containers.
Also add integration test for container controls.
2015-11-06 17:39:54 +00:00
Tom Wilkie
9a9ef72ad6 Don't run integration test in parallel for now 2015-11-05 15:44:55 +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
a5017c8d33 Remove spurious test. 2015-11-03 15:39:31 +00:00
Tom Wilkie
f3b66428db Don't use fast datapath for our inter-container connection tests. 2015-10-23 16:35:18 +00:00
Tom Wilkie
1e22629448 Merge pull request #577 from weaveworks/520-edge-bug
Include host scope for container joins based on IP.
2015-10-21 11:59:31 +01: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
b77fbcdaf1 Make scope work with weave master. 2015-10-20 09:48:12 +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
1577b90c61 Review feedback 2015-10-12 11:18:09 +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
ab83f41dba Add integration test for short lived connections from the internet. 2015-10-02 10:19:23 +00:00
Tom Wilkie
88686b5c6c Review Feedback 2015-09-30 13:40:25 +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
Peter Bourgon
36b743fe1f probe, app: reliable shutdown
- Restructure main funcs for clean defer-stack-unwinds
- Fix Docker container to handle signals properly
- Introduce runsvinit for container init process
- Integration test
2015-09-29 11:45:12 +02:00
Paul Bellamy
ff86370df8 fixing and simplifying circle build
The integration tests were using two different versions of weave. One to
launch the weave container, and another used by scope.
2015-08-11 14:14:25 +01:00
Paul Bellamy
8aede5aaf9 Fixing the build
* override the weave template and hosts count for gce
* weave gce script wants jq as well now
* build the new weave go test runner
2015-07-31 10:31:07 +01:00
Paul Bellamy
799e5b2ace add integration test for launching scope without weave installed 2015-07-20 15:53:08 +01:00
Paul Bellamy
c92773f16f working on clustering test 2015-06-30 14:46:31 +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
Peter Bourgon
2ba9dab7bd integration: becomes experimental; remove support in bin/test 2015-05-19 10:05:05 +00:00
Tom Wilkie
4598d37ecd Add circle ci config and test script. 2015-05-19 10:05:04 +00:00
Peter Bourgon
5ad24319f2 Build instructions and fixes 2015-05-19 10:03:01 +00:00
Peter Bourgon
0e19360215 Redo import statements 2015-05-19 10:02:59 +00:00
Tom Wilkie
d50e827fd5 Intial commit 2015-05-19 10:02:02 +00:00