Closed ssserj closed 10 years ago
Anybody GitHub?
Sorry for the delay, @ssserj. We've also got an internal branch for netty 4: https://github.com/twitter/cloudhopper-smpp/tree/netty4 To get this in a mergeable state, we need to check the two branches to make sure we made a reasonably similar approach (and reconcile it where we didn't), and get all of the unit tests passing. Currently your fork reports the following failures/errors:
Results :
Failed tests: serverNotEnoughWorkerThreadsCausesBindTimerToCloseChannel(com.cloudhopper.smpp.impl.DefaultSmppServerTest): expected:<3> but was:<5>
Tests in error:
serverSessionBindVersion31NormalizedTo33(com.cloudhopper.smpp.impl.DefaultSmppServerTest): Can't bind to port 9784 after 5000 milliseconds
serverSessionTimesOutWithNoBindRequest(com.cloudhopper.smpp.impl.DefaultSmppServerTest): Can't bind to port 9784 after 50 milliseconds
serverBindToUnavailablePortThrowsException(com.cloudhopper.smpp.impl.DefaultSmppServerTest): Can't bind to port 9784 after 5000 milliseconds
serverSessionBindVersion35NormalizesTo34(com.cloudhopper.smpp.impl.DefaultSmppServerTest): Can't bind to port 9784 after 5000 milliseconds
serverSessionBindRejectedWithInvalidPassword(com.cloudhopper.smpp.impl.DefaultSmppServerTest): Can't bind to port 9784 after 5000 milliseconds
serverSessionBindRejectedWithInvalidSystemId(com.cloudhopper.smpp.impl.DefaultSmppServerTest): Can't bind to port 9784 after 5000 milliseconds
serverSessionOK(com.cloudhopper.smpp.impl.DefaultSmppServerTest): Can't bind to port 9784 after 5000 milliseconds
bindOverSSL(com.cloudhopper.smpp.ssl.SslSessionTest): Can't bind to port 9784 after 5000 milliseconds
clientOverSSLButServerIsNotSSL(com.cloudhopper.smpp.ssl.SslSessionTest): Can't bind to port 9784 after 5000 milliseconds
serverOverSSLButClientIsNotSSL(com.cloudhopper.smpp.ssl.SslSessionTest): Can't bind to port 9784 after 5000 milliseconds
enquireLinkOverSSL(com.cloudhopper.smpp.ssl.SslSessionTest): Can't bind to port 9784 after 5000 milliseconds
If you're up for it, we're very happy to have the help. Thanks for the contribution.
@garthpatil thanks for reply. Hmm, but I can't reproduce this errors and fails in my fork (git@github.com:ssserj/cloudhopper-smpp.git).
Results :
Tests run: 186, Failures: 0, Errors: 0, Skipped: 3
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:17.780s
[INFO] Finished at: Wed Mar 05 10:16:44 MSK 2014
[INFO] Final Memory: 24M/350M
[INFO] ------------------------------------------------------------------------
How you reproduce the errors/fails? The impression is that commits c96ffc0, 0fa9dc8, f397376 not been applied to the master branch.
@garthpatil I couldn't wait. I merged my master with branch netty4. Tests was fixed. Please, check work ;)
@jjlauer @garthpatil all work merged to netty4, see #53.
I propose to consider and discuss the patch to use netty 4.0.x under the hood.