@Override public void tearDown() throws Exception { try { deleteGithubRepo(); } finally { super.tearDown(); } }
@Override public void setUp() throws Exception { super.setUp(); Random rnd = new Random(); long time = Clock.getTime(); PROJECT_NAME = "new_project_from_" + getTestName(false) + "_" + DateFormatUtil.formatDate(time).replace('/', '-') + "_" + rnd.nextLong(); registerHttpAuthService(); }