{"action":"created","issue":{"url":"https://api.github.com/repos/metacloud/molecule/issues/338","repository_url":"https://api.github.com/repos/metacloud/molecule","labels_url":"https://api.github.com/repos/metacloud/molecule/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/metacloud/molecule/issues/338/comments","events_url":"https://api.github.com/repos/metacloud/molecule/issues/338/events","html_url":"https://github.com/metacloud/molecule/issues/338","id":169887526,"number":338,"title":"Support for Testing with multiple instances","user":{"login":"tknerr","id":365744,"avatar_url":"https://avatars.githubusercontent.com/u/365744?v=3","gravatar_id":"","url":"https://api.github.com/users/tknerr","html_url":"https://github.com/tknerr","followers_url":"https://api.github.com/users/tknerr/followers","following_url":"https://api.github.com/users/tknerr/following{/other_user}","gists_url":"https://api.github.com/users/tknerr/gists{/gist_id}","starred_url":"https://api.github.com/users/tknerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tknerr/subscriptions","organizations_url":"https://api.github.com/users/tknerr/orgs","repos_url":"https://api.github.com/users/tknerr/repos","events_url":"https://api.github.com/users/tknerr/events{/privacy}","received_events_url":"https://api.github.com/users/tknerr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/metacloud/molecule/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-08T10:09:19Z","updated_at":"2016-08-09T07:22:35Z","closed_at":null,"body":"Currently you can only test against a single instance. However, often you have the situation where you want to test master/slave setups or the like.\r\n\r\nIt would be awesome if molecule would support that, so that we don't need yet another testing framework for these kinds of tests.\r\n\r\nIn the `molecule.yml` this could boil down to something like `instance-sets` as an alternative to `instances`. From a provider perspective, this should map quite well to Vagrant [multi-machine](https://www.vagrantup.com/docs/multi-machine/) setups, docker [compose](https://docs.docker.com/compose/), or openstack [heat](https://wiki.openstack.org/wiki/Heat)\r\n\r\nIt's also something that is often requested for test-kitchen, but until today they don't support it either afaik.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/metacloud/molecule/issues/comments/238474128","html_url":"https://github.com/metacloud/molecule/issues/338#issuecomment-238474128","issue_url":"https://api.github.com/repos/metacloud/molecule/issues/338","id":238474128,"user":{"login":"tknerr","id":365744,"avatar_url":"https://avatars.githubusercontent.com/u/365744?v=3","gravatar_id":"","url":"https://api.github.com/users/tknerr","html_url":"https://github.com/tknerr","followers_url":"https://api.github.com/users/tknerr/followers","following_url":"https://api.github.com/users/tknerr/following{/other_user}","gists_url":"https://api.github.com/users/tknerr/gists{/gist_id}","starred_url":"https://api.github.com/users/tknerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tknerr/subscriptions","organizations_url":"https://api.github.com/users/tknerr/orgs","repos_url":"https://api.github.com/users/tknerr/repos","events_url":"https://api.github.com/users/tknerr/events{/privacy}","received_events_url":"https://api.github.com/users/tknerr/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T07:22:35Z","updated_at":"2016-08-09T07:22:35Z","body":"Oh, in fact yes. I thought that would create two completely separate molecule test runs, one for each instance. Just tried it out, and in fact it brings up both instances for one single run.\r\n\r\nSo this poses two new questions (can't find it in the docs):\r\n\r\n1. how can you define which testinfra tests run against which of the instances? (currently same tests run on each instance)\r\n1. how can you test with different parameter sets, e.g test your master/slave setup first with configuration X, then in configuration Y, then in configuration Z with a  separate molecule test run cycle each?"}}
{"actor":{"display_login":"tknerr"}}