google-nomulus/core
Shicong Huang 661e348fcb
Stop provisioning RegistryEnvironment from Dagger (#140)
We found that some webdriver tests failed because RegistryEnvironment
was set to 'production' by other test and was carried over to the
webdriver test, and it was nontrivial to fix them because the instance
of RegistryEnvironment was injected into the testing web server.

Also, to eliminate this problem from potential victims, we stopped
provisioning RegistryEnvironment from Dagger. Instead, we just use
RegistryEnvironment.get() function to get the instance, which indeed
retrives the value from system property every time. If any test case
needs to run the test with other environment, it can just simply use
the existing SystemPropertyRule and RegistryEnvironment.${ENV}.setup
to change it.
2019-06-26 16:57:19 -04:00
..
gradle/dependency-locks Upgrade google-auth-library-java to latest version 2019-06-18 17:27:21 -04:00
src Stop provisioning RegistryEnvironment from Dagger (#140) 2019-06-26 16:57:19 -04:00
build.gradle Disable Javadoc and tests in Java 12 (#135) 2019-06-25 22:19:36 -04:00