{"action":"opened","issue":{"url":"https://api.github.com/repos/oveits/ProvisioningEngine/issues/33","repository_url":"https://api.github.com/repos/oveits/ProvisioningEngine","labels_url":"https://api.github.com/repos/oveits/ProvisioningEngine/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/oveits/ProvisioningEngine/issues/33/comments","events_url":"https://api.github.com/repos/oveits/ProvisioningEngine/issues/33/events","html_url":"https://github.com/oveits/ProvisioningEngine/issues/33","id":133059489,"number":33,"title":"issue #16: automated tests needed: Async mode: synchronization always leads to \"not provisioned (verified)\", even if it should be provisioned","user":{"login":"oveits","id":8299115,"avatar_url":"https://avatars.githubusercontent.com/u/8299115?v=3","gravatar_id":"","url":"https://api.github.com/users/oveits","html_url":"https://github.com/oveits","followers_url":"https://api.github.com/users/oveits/followers","following_url":"https://api.github.com/users/oveits/following{/other_user}","gists_url":"https://api.github.com/users/oveits/gists{/gist_id}","starred_url":"https://api.github.com/users/oveits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oveits/subscriptions","organizations_url":"https://api.github.com/users/oveits/orgs","repos_url":"https://api.github.com/users/oveits/repos","events_url":"https://api.github.com/users/oveits/events{/privacy}","received_events_url":"https://api.github.com/users/oveits/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oveits/ProvisioningEngine/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/oveits/ProvisioningEngine/labels/prio:normal","name":"prio:normal","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-11T19:04:58Z","updated_at":"2016-02-11T19:04:58Z","closed_at":null,"body":"issue #16 was not discovered by automated tests.\r\n\r\nIn the automated tests, we switch off Delayed::Jobs background processing, \r\n* in order to get a reproducible outcome and \r\n* for not being forced to write asynchronous tests like: \r\n  * send request\r\n  * periodically check the status, until a timeout occurs or a success or failure has been detected\r\n\r\nHowever, it is desirable to find such bugs like #16. \r\n\r\nNote: #16 is a kind of bug that is caused by model instances of the server process being independent of model instances handled by background processes like Delayed::Jobs. This kind of bugs cannot be found by rspec tests, if Delayed::Jobs background processing is switched off during the test. A more realistic test is needed here. \r\n"}}