{"action":"opened","issue":{"url":"https://api.github.com/repos/netty/netty/issues/8008","repository_url":"https://api.github.com/repos/netty/netty","labels_url":"https://api.github.com/repos/netty/netty/issues/8008/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/8008/comments","events_url":"https://api.github.com/repos/netty/netty/issues/8008/events","html_url":"https://github.com/netty/netty/issues/8008","id":330025408,"node_id":"MDU6SXNzdWUzMzAwMjU0MDg=","number":8008,"title":"Order between channelActive invocation on server, and channel being active on client?","user":{"login":"srdo","id":4324588,"node_id":"MDQ6VXNlcjQzMjQ1ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/4324588?v=4","gravatar_id":"","url":"https://api.github.com/users/srdo","html_url":"https://github.com/srdo","followers_url":"https://api.github.com/users/srdo/followers","following_url":"https://api.github.com/users/srdo/following{/other_user}","gists_url":"https://api.github.com/users/srdo/gists{/gist_id}","starred_url":"https://api.github.com/users/srdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srdo/subscriptions","organizations_url":"https://api.github.com/users/srdo/orgs","repos_url":"https://api.github.com/users/srdo/repos","events_url":"https://api.github.com/users/srdo/events{/privacy}","received_events_url":"https://api.github.com/users/srdo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-06T20:43:32Z","updated_at":"2018-06-06T20:43:32Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nWe have a test on Netty 3.x that starts up a server and client, and verify that they can talk to each other. The server keeps a list of all connected channels in a ChannelGroup, and adds new channels as channelConnected is called. \r\n\r\nThe test waits for the client channel to be open, and also waits for all channels in the server's ChannelGroup to be connected.\r\n\r\nWe're migrating to Netty 4, and the test has become flaky because it appears that the client channel may become active before the server channelActive method is invoked. As a result, the test starts before the server has registered the client in the ChannelGroup.\r\n\r\nI'm not sure whether this is a bug. Is the server's channelActive supposed to be invoked before the client's channel becomes active, or was it just a happy accident that it worked in Netty 3? "}}
{"actor":{"display_login":"srdo"}}