Skip to content

Commit

Permalink
Fix credentials test
Browse files Browse the repository at this point in the history
  • Loading branch information
jianghaolu committed Mar 4, 2016
1 parent c1ce2de commit d44df63
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class UserTokenCredentialsTests {
public void testAcquireToken() throws Exception {
credentials.refreshToken();
Assert.assertEquals("token1", credentials.getToken());
Thread.sleep(1000);
Thread.sleep(1500);
Assert.assertEquals("token2", credentials.getToken());
}

Expand Down Expand Up @@ -62,7 +62,7 @@ private void acquireAccessToken() throws IOException {
null,
"token1",
"refresh",
0,
1,
null,
null,
false);
Expand All @@ -73,7 +73,7 @@ private void acquireAccessTokenFromRefreshToken() throws IOException {
null,
"token2",
"refresh",
0,
1,
null,
null,
false);
Expand Down

0 comments on commit d44df63

Please sign in to comment.