Closed gabelula closed 8 years ago
Looks good for a temp Pillar solution. I agree with your comment that hacking the os is a bit messy, but that's the only way to do it in Pillar since it uses that var all over the place. When we go to the xenia world we will be able to create a new "Master Session."
What does this PR do?
Creates a unique test DB based on TEST_MONGODB_URL environment variable. This database (just for testing) gets destroyed at the end of the tests.
How do I test this PR?
go test on pkg/tests
@coralproject/backend
… issue with packages.