Repository navigation
Betamax tests - #21
cowboygneox wants to merge 11 commits into
Conversation
rewrite UrlConnectionClientFunctionTest with groovy and Spock ensure that VERSION constant is always initialized after version property is gathered from version.properties.
betamax-snapshot should be used until new stable release won't be presented.
add betamax-generated SSL certificated to gitignore
|
@cowboygneox any news? :) |
|
@walro I know it's been on and off for me, but every time I'm on, I'm making progress. I'm in-between contracts now, so once I catch up a little bit more, I should have plenty of time to get on top of Betamax. |
|
Alright, thanks for getting back to me (us)! |
|
@walro This is what I'm working on today. I'll report anything I learn as I go. |
|
After some digging, I'm seeing a |
|
I'm quite convinced it's a |
|
@walro So when I ran without docker, it passed on the Oracle JVM's. I'm not sure why the OpenJDK crashed, but it could be a fluke. I'm going to continue to try and figure out what Docker does to make this not work. |
|
Awesome, thanks for the update! We had troubles with OpenJDK7 in the very first Travis test run, but we just switched over to contained-based builds and never looked back :) |
|
@walro I'm a huge supporter of Docker, but I'm sure this issue comes down to entropy for the random. Even providing a |
|
@walro I emailed Travis asking if there's something they recommend for increasing entropy on the Docker containers. For today, I've done all I can, but I'll keep on top of it. I will be sure to document this issue and solution in length when we finally get to the end of it. |
|
@walro Ok, TravisCI and I have confirmed that it's not a All I can say right now is that I'm super tired today and I need some time to think and get the motivation to do what will certainly be an unpleasant refactor. I want to make sure I do this right so I never have to again. If you or your team have any ideas for how to make working with SSL certificates easier, I would love to hear them. No matter what, though, I believe we're going to have to stage the environment in some way prior to running the JVM, as the JVM does not like us messing with trust stores and certs from within the JVM (gee, I wonder why it wouldn't like that...). I'll keep you guys up to date with my work and thoughts. Note: I didn't design the way it currently works, I just inherited it. I would never have written it as it currently is, but trying to get it to work as is was the lesser of evils, or so I thought. |
|
We appreciate your hard work!
Unfortunately I don't have any ideas, but it sounds reasonable to me that you'd need to do some setup before running the tests. Maybe some other @twingly/dev has an idea though? |
|
I suppose you have already thought of it, but have you peeked at the other ports of VCR? See Ports in Other Languages in https://github.com/vcr/vcr/blob/cdf670fc12ada7682966bc3f76bd471efba1eafe/README.md maybe one of the other languages "suffers/suffered" from the same MITM problem? I understand that reading multiple implementations in other languages might not be the first route to go though, but maybe one can get lucky browsing older issues or what not. |
|
Closing as this is no longer relevant. |
Attempting to fix the issues with the PR #18. Let's see if this works