Make test more stable.
This commit is contained in:
parent
9e6a994381
commit
3676cc98f4
1 changed files with 2 additions and 2 deletions
|
@ -221,9 +221,9 @@ class SessionEnhancedTest < ActiveSupport::TestCase
|
||||||
}
|
}
|
||||||
sleep 5
|
sleep 5
|
||||||
Sessions.create( client_id1_0, agent1.attributes, { :type => 'websocket' } )
|
Sessions.create( client_id1_0, agent1.attributes, { :type => 'websocket' } )
|
||||||
sleep 5.5
|
sleep 6.5
|
||||||
Sessions.create( client_id1_1, agent1.attributes, { :type => 'websocket' } )
|
Sessions.create( client_id1_1, agent1.attributes, { :type => 'websocket' } )
|
||||||
sleep 1.2
|
sleep 3.2
|
||||||
Sessions.create( client_id2, agent2.attributes, { :type => 'ajax' } )
|
Sessions.create( client_id2, agent2.attributes, { :type => 'ajax' } )
|
||||||
|
|
||||||
# check if session exists
|
# check if session exists
|
||||||
|
|
Loading…
Reference in a new issue