[github-test] look for auth data in environment variables

It seems that they are easier to pass from the buildserver to tests
This commit is contained in:
Kirill Likhodedov
2013-07-03 14:55:26 +04:00
parent 37086ec0cb
commit 390c6a9f34
@@ -192,9 +192,9 @@ public abstract class GithubTest extends UsefulTestCase {
@Override
protected void setUp() throws Exception {
final String host = System.getProperty("test.github.host");
final String login = System.getProperty("test.github.login");
final String password = System.getProperty("test.github.password");
final String host = System.getenv("idea.test.github.host");
final String login = System.getenv("idea.test.github.login");
final String password = System.getenv("idea.test.github.password");
// TODO change to assert when a stable Github testing server is ready
assumeNotNull(host);