File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
StackExchange.Redis.Tests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public async Task DeslaveGoesToPrimary()
4848 primary . MakeMaster ( ReplicationChangeOptions . SetTiebreaker ) ;
4949 secondary . MakeMaster ( ReplicationChangeOptions . None ) ;
5050
51- await Task . Delay ( 2000 ) . ConfigureAwait ( false ) ;
51+ await Task . Delay ( 100 ) . ConfigureAwait ( false ) ;
5252
5353 primary . Ping ( ) ;
5454 secondary . Ping ( ) ;
@@ -75,7 +75,7 @@ public async Task DeslaveGoesToPrimary()
7575 primary . MakeMaster ( ReplicationChangeOptions . Broadcast | ReplicationChangeOptions . EnslaveSubordinates | ReplicationChangeOptions . SetTiebreaker , Writer ) ;
7676 Writer . WriteLine ( "Finished MakeMaster() call." ) ;
7777
78- await Task . Delay ( 2000 ) . ConfigureAwait ( false ) ;
78+ await Task . Delay ( 100 ) . ConfigureAwait ( false ) ;
7979
8080 Writer . WriteLine ( "Invoking Ping() (post-master)" ) ;
8181 primary . Ping ( ) ;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public async Task SubscriptionsSurviveMasterSwitchAsync(bool useSharedSocketMana
7575 subA . Ping ( ) ;
7676 subB . Ping ( ) ;
7777 Output . WriteLine ( "Pausing..." ) ;
78- await Task . Delay ( 4000 ) . ForAwait ( ) ;
78+ await Task . Delay ( 6000 ) . ForAwait ( ) ;
7979
8080 Assert . True ( a . GetServer ( TestConfig . Current . MasterServerAndPort ) . IsSlave , $ "{ TestConfig . Current . MasterServerAndPort } should be a slave via a") ;
8181 Assert . False ( a . GetServer ( TestConfig . Current . SlaveServerAndPort ) . IsSlave , $ "{ TestConfig . Current . SlaveServerAndPort } should be a master via a") ;
You can’t perform that action at this time.
0 commit comments