Skip to content

Commit

Permalink
Merge pull request #377 from MarkEWaite/stable-2.7-fix-credentials-te…
Browse files Browse the repository at this point in the history
…st-reporting-failure

Stable 2.7 fix credentials test reporting failure
  • Loading branch information
MarkEWaite committed Nov 4, 2018
2 parents 1f017d1 + 76dade9 commit 065c539
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
public class CredentialsTest {

// Required for credentials use
@ClassRule
public static final JenkinsRule j = new JenkinsRule();
@Rule
public final JenkinsRule j = new JenkinsRule();

private final String gitImpl;
private final String gitRepoURL;
Expand Down Expand Up @@ -350,7 +350,7 @@ private void addCredential() throws IOException {
* @return true if another test should be allowed to start
*/
private boolean testPeriodNotExpired() {
return (System.currentTimeMillis() - firstTestStartTime) < ((180 - 120) * 1000L);
return (System.currentTimeMillis() - firstTestStartTime) < ((180 - 30) * 1000L);
}

@Test
Expand Down

0 comments on commit 065c539

Please sign in to comment.