Closed jorgemsrs closed 9 years ago
no tests are implemented before we agree on a correct implementation
Jorge,
If you are able to make the relevant changes in the next month, then we can include this in the Cougar 3.2.0 release.
Hi @eswdd.
I'll do my best.
Hello @eswdd .
I've changed the implementation a bit. The build is good but fails because the JettyHttpTransportTest#testCORSEnabledAddNewHandlerToContextHandlerCollection() and JettyHttpTransportTest#testCORSDisabledDoesNotAddHandlersToContextHandlerCollection() use transport.stop() which is painfully slow. Travis does not like it.
I have to dig in and understand why. Do you have any ideas?
Actually the build was broken in fc6dfdd. Need any help?
That error started after travis upgraded their build environment last week. It would be fixed by #93 which would allow us to reduce the level of testing. For now i'm just rerunning builds that fail and it normally works fine the second time. Have rerun yours and the previous build. For some reason someone had disabled the travis builds. Was that you @betfairframeworks ?
Having builds working is the minimum state of affairs for this stream of work to continue. I seem unable to kick a build and I reckon it is because someone has disabled them like @eswdd has said. Even if it's not please re-enable them asap.
I reenabled them last night. Will investigate... On 19 Dec 2014 12:05, "Jorge Silva" notifications@github.com wrote:
Having builds working is the minimum state of affairs for this stream of work to continue. I seem unable to kick a build and I reckon it is because someone has disabled them like @eswdd https://github.com/eswdd. Even if it's not please re-enable them.
— Reply to this email directly or view it on GitHub https://github.com/betfair/cougar/pull/89#issuecomment-67630638.
Thanks @eswdd . I cannot kick a build anyway. Is is expectable for me to be able to do so?
I don't think you can kick builds unless you're a committer. Will re-kick yours in a bit.
Doesn't help that I just merged some changes to fix builds on java8 which had unintended consequences for java7 builds - i can't fix that until this evening.
although the last build on your pull request worked (if you ignore java8)
Fair enough.
I'll write the doco gist then
cool
Here's the gist https://gist.github.com/jorgemsrs/ef67b48f9f927ec2fe2f
This is a minimum viable solution in order to get cors support working in cougar.
It is meant for discussion and to help improve getting to a good enough state to be merged.