mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
Giving it a bit of delay in the hope that it removes flakiness of tests
This commit is contained in:
@@ -40,7 +40,7 @@ public class AppTest extends AbstractGitHubApiTestBase {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRepositoryWithAutoInitializationCRUD() throws IOException {
|
||||
public void testRepositoryWithAutoInitializationCRUD() throws Exception {
|
||||
String name = "github-api-test-autoinit";
|
||||
deleteRepository(name);
|
||||
GHRepository r = gitHub.createRepository(name)
|
||||
@@ -50,6 +50,7 @@ public class AppTest extends AbstractGitHubApiTestBase {
|
||||
r.enableIssueTracker(false);
|
||||
r.enableDownloads(false);
|
||||
r.enableWiki(false);
|
||||
Thread.sleep(3000);
|
||||
assertNotNull(r.getReadme());
|
||||
getUser().getRepository(name).delete();
|
||||
}
|
||||
@@ -602,6 +603,8 @@ public class AppTest extends AbstractGitHubApiTestBase {
|
||||
.prerelease(false)
|
||||
.create();
|
||||
|
||||
Thread.sleep(3000);
|
||||
|
||||
try {
|
||||
|
||||
for (GHTag tag : r.listTags()) {
|
||||
|
||||
Reference in New Issue
Block a user