Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Swarm needs integration tests #376

Closed
aluzzardi opened this issue Feb 6, 2015 · 4 comments
Closed

Swarm needs integration tests #376

aluzzardi opened this issue Feb 6, 2015 · 4 comments

Comments

@aluzzardi
Copy link
Contributor

Right now, we only rely on unit tests to ensure everything is working properly but that's not enough.

For instance, TLS was recently broken (#341) and we didn't notice until a user reported the issue.

Integrations test should set up a real cluster of engines and daemons and test things such as:

  • TLS/PKI (swarm<->node and cli<->swarm)
  • End-to-end features (affinity, constraints, ...)
  • API endpoints (especially the proxied one)
  • Run against different versions of the engine and make sure we are compliant (both older versions and new versions).

This would also help validate that upcoming Docker releases are Swarm compatible.

@chanwit
Copy link
Contributor

chanwit commented Feb 7, 2015

Run against different versions of the engine and make sure we are compliant (both older versions and new versions).

Boot2docker does not seem to be a choice then.

@chanwit
Copy link
Contributor

chanwit commented Feb 11, 2015

@aluzzardi here's a quick and dirty framework to test cluster on my own.

https://github.com/chanwit/marine

Just in case if you're interested.

@chanwit
Copy link
Contributor

chanwit commented Mar 9, 2015

As framework in #448 is working great now, scheduling strategies need an addition set of integration tests too.

/cc @vieux

@aluzzardi
Copy link
Contributor Author

Replaced by specific integration test issues (such as #492).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants