Skip to content

Commit

Permalink
Disable rate limit hanging test
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman committed Jan 28, 2020
1 parent d0d6518 commit d1679a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/java/org/kohsuke/github/GitHubConnectionTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.kohsuke.github;

import org.junit.Ignore;
import org.junit.Test;

import java.io.IOException;
Expand Down Expand Up @@ -99,10 +100,11 @@ public void testGithubBuilderWithAppInstallationToken() throws Exception {
assertEquals("", github.login);
}

@Ignore
@Test
public void testGitHubIsApiUrlValid() throws IOException {
GitHub hub = GitHub.connectAnonymously();
// GitHub github = GitHub.connectToEnterpriseAnonymously("https://github.mycompany.com/api/v3/");
// GitHub hub = GitHub.connectToEnterpriseAnonymously(mockGitHub.apiServer().baseUrl());
try {
hub.checkApiUrlValidity();
} catch (IOException ioe) {
Expand Down

0 comments on commit d1679a8

Please sign in to comment.