mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
Seeing a failure to create
This commit is contained in:
@@ -31,11 +31,12 @@ public class LifecycleTest extends TestCase {
|
||||
gitHub = GitHub.connect();
|
||||
}
|
||||
|
||||
public void testCreateRepository() throws IOException, GitAPIException {
|
||||
public void testCreateRepository() throws IOException, GitAPIException, InterruptedException {
|
||||
GHMyself myself = gitHub.getMyself();
|
||||
GHRepository repository = myself.getRepository("github-api-test");
|
||||
if (repository != null) {
|
||||
repository.delete();
|
||||
Thread.sleep(1000);
|
||||
}
|
||||
repository = gitHub.createRepository("github-api-test",
|
||||
"a test repository used to test kohsuke's github-api", "http://github-api.kohsuke.org/", true);
|
||||
|
||||
Reference in New Issue
Block a user