{"action":"closed","issue":{"url":"https://api.github.com/repos/brianoliver/migration/issues/46","repository_url":"https://api.github.com/repos/brianoliver/migration","labels_url":"https://api.github.com/repos/brianoliver/migration/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/brianoliver/migration/issues/46/comments","events_url":"https://api.github.com/repos/brianoliver/migration/issues/46/events","html_url":"https://github.com/brianoliver/migration/issues/46","id":153456468,"number":46,"title":"Calling \"eventually\" on a non existent MBean hangs forever","user":{"login":"brianoliver","id":2628293,"avatar_url":"https://avatars.githubusercontent.com/u/2628293?v=3","gravatar_id":"","url":"https://api.github.com/users/brianoliver","html_url":"https://github.com/brianoliver","followers_url":"https://api.github.com/users/brianoliver/followers","following_url":"https://api.github.com/users/brianoliver/following{/other_user}","gists_url":"https://api.github.com/users/brianoliver/gists{/gist_id}","starred_url":"https://api.github.com/users/brianoliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianoliver/subscriptions","organizations_url":"https://api.github.com/users/brianoliver/orgs","repos_url":"https://api.github.com/users/brianoliver/repos","events_url":"https://api.github.com/users/brianoliver/events{/privacy}","received_events_url":"https://api.github.com/users/brianoliver/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/brianoliver/migration/labels/Bug","name":"Bug","color":"b2fff6"},{"url":"https://api.github.com/repos/brianoliver/migration/labels/Major","name":"Major","color":"7aa1d3"},{"url":"https://api.github.com/repos/brianoliver/migration/labels/Module:%20Coherence","name":"Module: Coherence","color":"bc5940"},{"url":"https://api.github.com/repos/brianoliver/migration/labels/Module:%20Runtime","name":"Module: Runtime","color":"d32c7a"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-06T13:56:45Z","updated_at":"2016-05-06T13:57:36Z","closed_at":"2016-05-06T13:57:36Z","body":"I wrote an assert as such:\n\nAssert.assertThat(eventually(invoking(cluster.iterator().next())\n.getMBeanAttribute(newObjectName(\"Coherence:type=Service,name=DistributedCache,nodeId=1\"),\n\"StatusHA\", String.class)), (Matcher<String>) is(\"NODE-SAFE\"));\n\nThis MBean didn't exist so the assert should have failed; instead it hung forever."}}