Bryan Boreham
4926cb6f9a
Add test to check that bridge IP is not the same as container IP
2017-03-21 11:39:36 +00:00
Bryan Boreham
31b7e063e7
Use version 3 in the test
...
CNI_VERSION env var was never used, so removed from the test script.
The second test is crashing on v1, so bumped to v3.
2017-03-16 18:23:20 +00:00
Bryan Boreham
4eeb846507
Add tests for connectivity to the world
2017-02-01 15:01:18 +00:00
Marc CARRE
0dff07dc8b
Scripts now source dependencies using relative paths (previously breaking make depending on current directory).
2016-12-13 16:00:37 +00:00
Bryan Boreham
ec21afb426
Unify weave and launch.sh CNI setup
...
Test 830 has to run CNI plugin under sudo now
2016-12-06 11:52:09 +00:00
Bryan Boreham
882bff292e
Fix test invocation of weave again
...
Previous fix in b4a43f1b85 did not work
when built with code coverage.
Running a test script with -v causes `weave_on` to output progress
messages, so we don't want to use those commands inside `$()`
2016-12-06 11:48:48 +00:00
Bryan Boreham
b4a43f1b85
Fix test running with -v flag
...
Running a test script with -v causes `weave_on` and `docker_on` to
output progress messages, so we don't want to use those commands
inside `$()`
2016-12-05 16:12:15 +00:00
Bryan Boreham
9cc98919fa
Adjust CNI smoke-test to cope with new plugin behaviour
2016-11-14 19:53:54 +00:00
Marc CARRE
16415404c7
Added automated test reproducing the issue.
...
test #4 "[
3e52b548e6df304c61ea5bee0af4b3515e025e7e25152c65ecae3d03c71cf52d ==
Unable to claim: address 10.32.0.3/12 is already owned by
fbe411facc8b657c5850591ab56fc40fb56160d43db0d7363a29ba3edad61134
Unable to claim: address 10.32.0.1/12 is already owned by
cf16a2bcdee8dd1ef7e5f0a611127611e67ea734f45d7526678fc3b1fc0c6f5d
3e52b548e6df304c61ea5bee0af4b3515e025e7e25152c65ecae3d03c71cf52d ]"
failed:
program terminated with code 2 instead of 0
1 of 6 tests failed in 6.499s.
2016-11-11 17:00:26 +00:00
Martynas Pumputis
a1de7f3eef
Enable unsolicited ARPs in 830 test case
...
Otherwise, ping (c1->c3) after the address reuse might time out.
2016-09-14 11:05:00 +01:00
Martynas Pumputis
8c8c6db7dd
Increase sleep time in 830_cni_plugin_test
...
Fix #2329
2016-08-16 18:00:46 +01:00
Bryan Boreham
081b95dfd0
CNI plugin assigns an IP to the bridge by itself
...
No need to call `weave expose` before use.
2016-08-08 15:28:26 +01:00
Bryan Boreham
f695b3fd17
Smoke-test CNI arp update
2016-05-25 12:05:20 +01:00
Bryan Boreham
15bdf6cd2d
Rework CNI test so it uses the scriptlet
2016-04-11 16:00:49 +01:00
Bryan Boreham
737b0e0504
Two different configs; ensure weave-ipam driver works when named
2016-04-08 17:59:23 +01:00
Matthias Radestock
718e93bd23
add coverage to plugin
2016-03-30 17:40:32 +01:00
Bryan Boreham
c8ca295cda
CNI plugin smoke test
2016-03-17 18:20:29 +00:00