Commit Graph

29 Commits

Author SHA1 Message Date
Matthias Radestock
9457468362 remove checks for ebpf'ness in integration tests
since probes no longer supply that info
2017-07-30 10:33:29 +01:00
Matthias Radestock
b2f14a96c5 refactor: extract a couple of test helpers 2017-06-25 10:27:49 +01:00
Matthias Radestock
6ef8281ad0 replace weave run with use of weave proxy
since Weave Net 2.0 removed `weave run`.
2017-06-25 08:08:09 +01:00
Alban Crequy
b761b5e52b integration tests: better log messages 2017-05-19 14:49:38 +02:00
Alban Crequy
904da40fad integration tests: list containers & endpoints for debugging
And when endpoints_have_ebpf() fails to find all endpoints with eBPF,
print an example of endpoint.
2017-03-17 16:50:24 +01:00
Iago López Galeiras
6d55a344a6 integration: add tests for eBPF 2017-03-08 22:11:12 +01:00
Alban Crequy
32550f60f2 integration: restart docker daemon after each test (#2298)
To be sure that containers from previous tests are not running in the
next test.
2017-03-04 09:47:40 +01:00
Alfonso Acosta
3ed02d9a9a Make integration tests more robust 2017-01-19 11:24:34 +00:00
Iago López Galeiras
5cb5c7d42e Fix shfmt issues 2017-01-18 11:51:41 +01:00
Iago López Galeiras
43d9f38c5e Fix various linter issues
Found via shellcheck.
2017-01-18 11:51:41 +01:00
Tom Wilkie
2113795b9e Don't checkpoint weave during integration tests. 2016-05-16 15:10:43 +01:00
Paul Bellamy
80dc714c1e rename LabelMajor to Label 2016-03-29 14:00:11 +01:00
Tom Wilkie
7d0b1cec61 Fix integration test 2016-03-03 20:22:47 +00:00
Tom Wilkie
bc48a48133 Split the internet node for incoming vs outgoing connections. 2016-03-01 14:11:47 +00:00
Tom Wilkie
5f0b24e371 Disable checkpointing in tests. 2016-02-25 09:37:03 +00:00
Tom Wilkie
baec4688cb Various improvements to build & tests
- Fix broken wait in tests.
- Run lint in the build container.
- Merge two quick steps in the circle plan.
- Increase number of test VMs to 3 (again).
2016-01-15 10:00:41 -08:00
Tom Wilkie
bf91d5b8ba Use gce.sh, config.sh etc from tools. 2016-01-12 21:54:42 +00:00
Tom Wilkie
57a06cb848 Review feedback 2016-01-06 12:46:25 +00:00
Tom Wilkie
d101b0fced Add integration test for procspy edges. 2016-01-06 12:46:25 +00:00
Tom Wilkie
a5017c8d33 Remove spurious test. 2015-11-03 15:39:31 +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
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
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
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