KEYCLOAK-13852 reset time at the end of testTokenConcurrentRefresh test
This commit is contained in:
parent
83255e1b08
commit
1db87acc98
1 changed files with 3 additions and 1 deletions
|
@ -794,7 +794,6 @@ public class DemoServletsAdapterTest extends AbstractServletsAdapterTest {
|
||||||
testRealmLoginPage.form().login("bburke@redhat.com", "password");
|
testRealmLoginPage.form().login("bburke@redhat.com", "password");
|
||||||
assertCurrentUrlEquals(tokenRefreshPage);
|
assertCurrentUrlEquals(tokenRefreshPage);
|
||||||
|
|
||||||
// Revert times
|
|
||||||
setAdapterAndServerTimeOffset(5, tokenRefreshPage.toString());
|
setAdapterAndServerTimeOffset(5, tokenRefreshPage.toString());
|
||||||
|
|
||||||
BasicCookieStore cookieStore = new BasicCookieStore();
|
BasicCookieStore cookieStore = new BasicCookieStore();
|
||||||
|
@ -826,6 +825,9 @@ public class DemoServletsAdapterTest extends AbstractServletsAdapterTest {
|
||||||
} finally {
|
} finally {
|
||||||
executor.shutdownNow();
|
executor.shutdownNow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Revert times
|
||||||
|
setAdapterAndServerTimeOffset(0, tokenRefreshPage.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tests forwarding of parameters like "prompt"
|
// Tests forwarding of parameters like "prompt"
|
||||||
|
|
Loading…
Reference in a new issue