Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7b87de2

Browse filesBrowse files
committed
Giving it a bit of delay in the hope that it removes flakiness of tests
1 parent 1ce54a7 commit 7b87de2
Copy full SHA for 7b87de2

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎src/test/java/org/kohsuke/github/AppTest.java

Copy file name to clipboardExpand all lines: src/test/java/org/kohsuke/github/AppTest.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void testRepoCRUD() throws Exception {
4040
}
4141

4242
@Test
43-
public void testRepositoryWithAutoInitializationCRUD() throws IOException {
43+
public void testRepositoryWithAutoInitializationCRUD() throws Exception {
4444
String name = "github-api-test-autoinit";
4545
deleteRepository(name);
4646
GHRepository r = gitHub.createRepository(name)
@@ -50,6 +50,7 @@ public void testRepositoryWithAutoInitializationCRUD() throws IOException {
5050
r.enableIssueTracker(false);
5151
r.enableDownloads(false);
5252
r.enableWiki(false);
53+
Thread.sleep(3000);
5354
assertNotNull(r.getReadme());
5455
getUser().getRepository(name).delete();
5556
}
@@ -602,6 +603,8 @@ public void testCreateRelease() throws Exception {
602603
.prerelease(false)
603604
.create();
604605

606+
Thread.sleep(3000);
607+
605608
try {
606609

607610
for (GHTag tag : r.listTags()) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.