{"action":"closed","issue":{"url":"https://api.github.com/repos/stellar/stellar-core/issues/1645","repository_url":"https://api.github.com/repos/stellar/stellar-core","labels_url":"https://api.github.com/repos/stellar/stellar-core/issues/1645/labels{/name}","comments_url":"https://api.github.com/repos/stellar/stellar-core/issues/1645/comments","events_url":"https://api.github.com/repos/stellar/stellar-core/issues/1645/events","html_url":"https://github.com/stellar/stellar-core/issues/1645","id":311693365,"number":1645,"title":"Split up test runs in travis","user":{"login":"MonsieurNicolas","id":4213763,"avatar_url":"https://avatars3.githubusercontent.com/u/4213763?v=4","gravatar_id":"","url":"https://api.github.com/users/MonsieurNicolas","html_url":"https://github.com/MonsieurNicolas","followers_url":"https://api.github.com/users/MonsieurNicolas/followers","following_url":"https://api.github.com/users/MonsieurNicolas/following{/other_user}","gists_url":"https://api.github.com/users/MonsieurNicolas/gists{/gist_id}","starred_url":"https://api.github.com/users/MonsieurNicolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MonsieurNicolas/subscriptions","organizations_url":"https://api.github.com/users/MonsieurNicolas/orgs","repos_url":"https://api.github.com/users/MonsieurNicolas/repos","events_url":"https://api.github.com/users/MonsieurNicolas/events{/privacy}","received_events_url":"https://api.github.com/users/MonsieurNicolas/received_events","type":"User","site_admin":false},"labels":[{"id":150967172,"url":"https://api.github.com/repos/stellar/stellar-core/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":{"login":"jonjove","id":31668823,"avatar_url":"https://avatars0.githubusercontent.com/u/31668823?v=4","gravatar_id":"","url":"https://api.github.com/users/jonjove","html_url":"https://github.com/jonjove","followers_url":"https://api.github.com/users/jonjove/followers","following_url":"https://api.github.com/users/jonjove/following{/other_user}","gists_url":"https://api.github.com/users/jonjove/gists{/gist_id}","starred_url":"https://api.github.com/users/jonjove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonjove/subscriptions","organizations_url":"https://api.github.com/users/jonjove/orgs","repos_url":"https://api.github.com/users/jonjove/repos","events_url":"https://api.github.com/users/jonjove/events{/privacy}","received_events_url":"https://api.github.com/users/jonjove/received_events","type":"User","site_admin":false},"assignees":[{"login":"jonjove","id":31668823,"avatar_url":"https://avatars0.githubusercontent.com/u/31668823?v=4","gravatar_id":"","url":"https://api.github.com/users/jonjove","html_url":"https://github.com/jonjove","followers_url":"https://api.github.com/users/jonjove/followers","following_url":"https://api.github.com/users/jonjove/following{/other_user}","gists_url":"https://api.github.com/users/jonjove/gists{/gist_id}","starred_url":"https://api.github.com/users/jonjove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonjove/subscriptions","organizations_url":"https://api.github.com/users/jonjove/orgs","repos_url":"https://api.github.com/users/jonjove/repos","events_url":"https://api.github.com/users/jonjove/events{/privacy}","received_events_url":"https://api.github.com/users/jonjove/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-05T17:03:03Z","updated_at":"2018-05-03T14:55:14Z","closed_at":"2018-05-03T14:55:14Z","author_association":"CONTRIBUTOR","body":"As we are running more tests, we need to figure out how to parallelize their execution.\r\n\r\nThe first step in this parallelization effort is to enable parallelization in separate environments (ie, when running in Travis for example).\r\n\r\nThis boils down to figuring out how to partition the test runs over N partitions (with each partition K with 1 <= K <= N):\r\n* an approach could be to generate a list of test cases that needs to be run, then break down this list in n partitions. Some variation of:\r\n   * `./stellar-core --test --list-test-names-only > all-tests.txt`\r\n   * \"some clever command that picks test number K+i*N for each K\" > all-tests-K.txt\r\n   * run `stellar-core --test -f all-tests-K.txt`\r\n* an equivalent but maybe simpler version of this would be to make a slight modification to catch (maybe there is a way to do this already?) to support predicates that \"replaces\" some tests by a no-op, so running tests will look like `stellar-core --test --partition-K` (where `K` is the partition number - note the hack here of using `--partition-K` instead of `--partition K` as catch doesn't allow for parameters on custom command line)\r\n\r\nWith this done, as we have currently 2 jobs in Travis, we can partition the tests into 2:\r\n* clang build -> run tests partition \"1\"\r\n* gcc build -> run tests partition \"2\"\r\n"}}
{"actor":{"display_login":"latobarita"}}