{"action":"created","issue":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/390","repository_url":"https://api.github.com/repos/CorfuDB/CorfuDB","labels_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/390/comments","events_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/390/events","html_url":"https://github.com/CorfuDB/CorfuDB/pull/390","id":195980948,"number":390,"title":"Opacity","user":{"login":"dahliamalkhi","id":5497591,"avatar_url":"https://avatars.githubusercontent.com/u/5497591?v=3","gravatar_id":"","url":"https://api.github.com/users/dahliamalkhi","html_url":"https://github.com/dahliamalkhi","followers_url":"https://api.github.com/users/dahliamalkhi/followers","following_url":"https://api.github.com/users/dahliamalkhi/following{/other_user}","gists_url":"https://api.github.com/users/dahliamalkhi/gists{/gist_id}","starred_url":"https://api.github.com/users/dahliamalkhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahliamalkhi/subscriptions","organizations_url":"https://api.github.com/users/dahliamalkhi/orgs","repos_url":"https://api.github.com/users/dahliamalkhi/repos","events_url":"https://api.github.com/users/dahliamalkhi/events{/privacy}","received_events_url":"https://api.github.com/users/dahliamalkhi/received_events","type":"User","site_admin":false},"labels":[{"id":214476411,"url":"https://api.github.com/repos/CorfuDB/CorfuDB/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-16T04:55:06Z","updated_at":"2016-12-16T18:08:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/pulls/390","html_url":"https://github.com/CorfuDB/CorfuDB/pull/390","diff_url":"https://github.com/CorfuDB/CorfuDB/pull/390.diff","patch_url":"https://github.com/CorfuDB/CorfuDB/pull/390.patch"},"body":"state-machine tests can now be in two modes: \r\n  - threaded: each state-machine task is run in a thread. the number of concurrent threads is (as usual) a parameter. interleaving is controlled by the OS.\r\n  - interleaved: each state-machine tasks is controlled by the interleaving engine. Scheduling is completely under the control of the interleaving engine. \r\n\r\nGradually, we can turn concurrency tests into state-machines, allowing to run them in either manner."},"comment":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/comments/267658436","html_url":"https://github.com/CorfuDB/CorfuDB/pull/390#issuecomment-267658436","issue_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/390","id":267658436,"user":{"login":"no2chem","id":6496984,"avatar_url":"https://avatars.githubusercontent.com/u/6496984?v=3","gravatar_id":"","url":"https://api.github.com/users/no2chem","html_url":"https://github.com/no2chem","followers_url":"https://api.github.com/users/no2chem/followers","following_url":"https://api.github.com/users/no2chem/following{/other_user}","gists_url":"https://api.github.com/users/no2chem/gists{/gist_id}","starred_url":"https://api.github.com/users/no2chem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/no2chem/subscriptions","organizations_url":"https://api.github.com/users/no2chem/orgs","repos_url":"https://api.github.com/users/no2chem/repos","events_url":"https://api.github.com/users/no2chem/events{/privacy}","received_events_url":"https://api.github.com/users/no2chem/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T18:08:55Z","updated_at":"2016-12-16T18:08:55Z","body":"Yes, in the current form it's a bit hard to read what is going on. Something like:\r\n```\r\naddStep(() -> startTX());\r\naddStep(() -> map.put(1,2));\r\n```\r\nallows the writer and reader of the test to focus on the test itself, rather than the boilerplate arraylist creation."}}
{"actor":{"display_login":"no2chem"}}