File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/NHibernate.Search.Tests Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public async Task ProperCopyAsync()
6060 await ( tx . CommitAsync ( ) ) ;
6161 session . Close ( ) ;
6262
63- int waitPeriodMilli = 2 * 1 * 1000 + 10 ; //wait a bit more than 2 refresh (one master / one slave)
63+ var waitPeriodMilli = TimeSpan . FromSeconds ( 1.5 * 2 ) ; //wait a bit more than 2 refresh (one master / one slave)
6464 await ( Task . Delay ( waitPeriodMilli ) ) ;
6565
6666 // assert that the master has indexed the snowstorm
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public void ProperCopy()
4949 tx . Commit ( ) ;
5050 session . Close ( ) ;
5151
52- int waitPeriodMilli = 2 * 1 * 1000 + 10 ; //wait a bit more than 2 refresh (one master / one slave)
52+ var waitPeriodMilli = TimeSpan . FromSeconds ( 1.5 * 2 ) ; //wait a bit more than 2 refresh (one master / one slave)
5353 Thread . Sleep ( waitPeriodMilli ) ;
5454
5555 // assert that the master has indexed the snowstorm
You can’t perform that action at this time.
0 commit comments