Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Commit f39a47f

Browse files
committed
This test seems to fail randomly
1 parent f58f159 commit f39a47f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/test/java/org/kohsuke/github/LifecycleTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public void testCreateRepository() throws IOException, GitAPIException, Interrup
2626
}
2727
repository = gitHub.createRepository("github-api-test",
2828
"a test repository used to test kohsuke's github-api", "http://github-api.kohsuke.org/", true);
29+
Thread.sleep(1000); // wait for the repository to become ready
2930

3031
assertTrue(repository.getReleases().isEmpty());
3132
try {

0 commit comments

Comments
 (0)