Increase timeout to 3s
This commit is contained in:
parent
f19fd3e5dd
commit
be584856eb
|
@ -66,10 +66,9 @@ module.exports = {
|
|||
TestCase.assertEqual(session.state, 'active');
|
||||
|
||||
// give the session enough time to refresh its access token and bind itself
|
||||
let timeout = 1500;
|
||||
if (typeof window !== 'undefined') {
|
||||
timeout = 2500; // need a longer timeout under React Native because remote debugging
|
||||
}
|
||||
// TODO: Use an event to discover when the session is bound
|
||||
let timeout = 3000;
|
||||
|
||||
return wait(timeout).then(() => {
|
||||
TestCase.assertEqual(session.url, `realm://localhost:9080/${user.identity}/myrealm`);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue