Repository navigation
Integration test using test.js - #215
Conversation
- Don't ignore entropy underruns in challenges.go - Correct identity crisis in Policy Authority; hopefully it will remember. - Add a method `AuditObject` in audit-logger and convert RA/VA to use it - Fix json typo in registration-authority that caused empty audit logs - Fix vet issue in WFE where RegID was being printed as a 32-bit int instead of 64-bit - Unfix the issue in WFE where RegID isn't right, per PR #215
There was a problem hiding this comment.
This should probably be "node" rather than "js" for compatibility.
Include updates to test.js to make its output more useful as a diagnostic. It remains a future TODO to do integration testing with the real letsencrypt client. Also, work around a go vet bug.
|
Ok, ready for re-review. |
There was a problem hiding this comment.
I think the only thing that still needs doing is to check for the existence of setsid before attempting to use it, since it doesn't exist on BSD. I'd recommend doing something like:
SETSID=$(which setsid)
${SETSID} bash test/integratio-test.sh
There was a problem hiding this comment.
In the absence of setsid, if you run test.sh multiple times, it will leave a dangling copy of boulder running, which will mean subsequent runs won't pick up boulder changes. I'm going to poke at an install/run command pair which will fix these issues with killing grandchildren (since there will be no grandchildren).
|
Ready for re-review again. I took out the part that automatically runs integration-test.sh from test.sh, because there are still some issues to work out regarding shutdown of boulder and compatibility across Linux and OS X. But there are some incidental interop bugs that are fixed in this branch, so I wanted to unblock it from those issues. cc @jcjones |
There was a problem hiding this comment.
Why did we strip this? Anyway, I don't really care.
There was a problem hiding this comment.
I stripped it because if there are no unformatted files, the test output ends with this statement, which is confusing. I'd be happy to add back in, so long as we end with an "ok" or something.
|
Let's go for it. Can always add that comment back in if we care. :) |
Integration test using test.js
Add an integration test using test.js
Include updates to test.js to make its output more useful as a diagnostic.
It remains a future TODO to do integration testing with the real letsencrypt
client.
Partly fixes #210