Alvaro Saurin
4c519fc761
Smoke tests
2015-07-14 15:12:40 +02:00
Alvaro Saurin
efb0ead9ad
Resolve unqualified names in the local WeaveDNS domain
...
Unit tests
2015-07-14 10:46:41 +02:00
Matthias Radestock
85b4a05c9a
Merge branch '1.0'
2015-07-13 19:07:47 +01:00
Matthias Radestock
1f3d054b09
Merge pull request #1124 from weaveworks/issues/1037-mitigate-entropy-depletion
...
Mitigate entropy depletion
Closes #1037 .
2015-07-13 19:06:54 +01:00
Tom Wilkie
4eb6d147b5
Merge pull request #1121 from weaveworks/test_large_packets
...
test that large packets can be transmitted over weave
2015-07-13 17:06:28 +01:00
Adam Harrison
e2f8b6f9fd
Document /dev/random blocking issue
2015-07-13 15:02:31 +01:00
Adam Harrison
f3c4a9fc6d
Limit router accept rate with token bucket
2015-07-13 15:02:31 +01:00
Adam Harrison
9634526a67
Add token bucket implementation
2015-07-13 15:01:04 +01:00
Adam Harrison
b67c102fe5
Remove simple sleep from router accept
2015-07-13 15:01:04 +01:00
Tom Wilkie
1e39b2bdcf
Merge pull request #1123 from weaveworks/remove-danglies
...
Remove Docker dangling images in smoke-tests
2015-07-13 14:38:04 +01:00
Adam Harrison
d6443809bd
Merge pull request #1120 from weaveworks/998-race
...
Various improvements to unit test running
2015-07-13 14:09:45 +01:00
Bryan Boreham
80e56d67db
Remove Docker dangling images after copying new ones
2015-07-13 14:03:47 +01:00
Tom Wilkie
24a4d6501e
Merge pull request #1117 from weaveworks/multi_hop_tests
...
Multi hop tests
2015-07-13 11:39:06 +01:00
Bryan Boreham
5e43f0fd4c
Merge pull request #1079 from weaveworks/68-rewrite-etc-hosts
...
LGTM. Closes #68 , with remainder to #1122
2015-07-13 11:03:20 +01:00
Tom Wilkie
13f1239a3e
Various improvements to unit test running
...
- units.sh should exit on error.
- Add race detector to unit test runner.
- Use local testing/cover/cover tool in gen_coverage_report.sh and units.sh
- Use the scheduler to parallelise the unit tests.
- Make test run id a string and differentiate between unit runs and integration runs in the scheduler.
- Pipe circle env vars through to build container so we can detect when to use the scheduler
- Add python requests to the weave build container.
- Quote test names in urls, make flask handle url segments with slashes in.
2015-07-13 09:33:52 +00:00
Matthias Radestock
9463ceb873
test that large packets can be transmitted over weave
2015-07-13 10:31:20 +01:00
Matthias Radestock
7aab5cc5b4
refactor: simplify NewPeers
2015-07-11 17:46:57 +01:00
Matthias Radestock
2b61bc91df
cosmetic: remove blank log lines
2015-07-11 16:43:33 +01:00
Matthias Radestock
57a4371e9f
attempt to cure spurious test failures
2015-07-11 16:31:16 +01:00
Matthias Radestock
1d2e6b4c56
test gossip forwarding
2015-07-11 16:17:36 +01:00
Matthias Radestock
2a0bc91f86
add test for peer discovery and multi-hop routing
2015-07-11 14:57:24 +01:00
Matthias Radestock
210b926064
increase number of test VMs from 2 to 3
2015-07-11 14:57:24 +01:00
Matthias Radestock
9a089a111f
don't invoke weave stop-router at end of tests
...
since that removes the container, rather than just stopping it.
2015-07-11 14:56:11 +01:00
Matthias Radestock
710eabeff3
reduce test vm memory
2015-07-11 12:15:46 +01:00
Matthias Radestock
603f34e944
oops, forgot to commit this
2015-07-11 12:14:43 +01:00
Matthias Radestock
a3dff7e1e9
cope with more than two test hosts
2015-07-11 11:59:34 +01:00
Matthias Radestock
25486f7b4d
cosmetic: s/weave_stop_router/stop_router_on
...
Also run `weave stop-router` as part of this, so conntrack cleanup
happens.
2015-07-11 11:58:29 +01:00
Matthias Radestock
c22d824db8
.gitignore and clean up coverage reports
2015-07-11 11:57:01 +01:00
Matthias Radestock
a44a3a4158
cure "./gen_coverage_reports.sh: line 5: CIRCLECI: unbound variable"
2015-07-11 11:46:49 +01:00
Matthias Radestock
982c9d7650
remove dead code
2015-07-11 11:17:44 +01:00
Matthias Radestock
7042c1506a
cosmetic: consistency with other tests
2015-07-11 03:36:21 +01:00
Matthias Radestock
76943f0b17
cosmetic
2015-07-11 02:52:30 +01:00
Matthias Radestock
c4f516655d
refactor: simplify ipam claim try
2015-07-11 02:28:14 +01:00
Matthias Radestock
aaba681db1
remove dead code
2015-07-11 01:54:37 +01:00
Tom Wilkie
56a169b50f
Merge pull request #1115 from weaveworks/unit-coverage
...
Run unit tests in circle and include their coverage in the report.
2015-07-10 19:34:48 +01:00
Tom Wilkie
32b2ec4038
Run unit tests in circle and include their coverage in the report. Report coveralls.io from Circle.
2015-07-10 18:19:50 +00:00
Matthias Radestock
ce5052305d
fix CircleCI breakage
2015-07-10 18:44:30 +01:00
Matthias Radestock
0e94e3e07b
complain even less about absent weave container in coverage collection
2015-07-10 18:30:13 +01:00
Matthias Radestock
3d72670105
don't complain in coverage collection when weave container is absent
2015-07-10 18:24:19 +01:00
Tom Wilkie
f8718dcc5d
Remove duplication of coverage stanza in weave script.
2015-07-10 16:35:46 +00:00
Paul Bellamy
fa6777004f
Review feedback
2015-07-10 17:34:06 +01:00
Paul Bellamy
e3212d462d
Merge pull request #1105 from weaveworks/673-smoke-test-coverage
...
Code coverage for smoke tests.
2015-07-10 16:53:59 +01:00
Tom Wilkie
f5186e74c0
Review feedback
2015-07-10 15:33:00 +00:00
Tom Wilkie
bf814739ba
Reduce repetition in Makefile.
2015-07-10 15:03:54 +00:00
Tom Wilkie
00a7490a1d
Code coverage for smoke tests.
...
Allow non-circle people to build coverage reports.
2015-07-10 14:45:14 +00:00
Adam Harrison
da41604229
Fix IPAM test compilation
2015-07-10 15:43:28 +01:00
Adam Harrison
d5a4326b9e
Merge branch '1.0'
...
Conflicts:
ipam/allocator_test.go
ipam/claim.go
2015-07-10 14:35:41 +01:00
Adam Harrison
835d99e6fe
Merge pull request #1104 from weaveworks/1083-async-claim
...
Don't wait to claim addresses from IPAM
2015-07-10 14:03:05 +01:00
Paul Bellamy
e4458372e8
[proxy] weavewait rewrites /etc/hosts so weave ip is returned first from 'hostname -i'
...
Adds a --no-rewrite-hosts flag to the proxy, and be default, removes the
docker IP from hosts. We only discard the docker host when it exists, so
--net=none works.
2015-07-10 13:57:20 +01:00
Bryan Boreham
75646d4786
Merge remote-tracking branch 'origin/1.0'
...
Conflicts:
router/connection.go
2015-07-09 12:56:37 +01:00