File tree 1 file changed +8
-0
lines changed
tests/NRedisStack.Tests/Search
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -642,6 +642,10 @@ public void AlterAdd()
642
642
Schema sc = new Schema ( ) . AddTextField ( "title" , 1.0 ) ;
643
643
644
644
Assert . True ( ft . Create ( index , FTCreateParams . CreateParams ( ) , sc ) ) ;
645
+
646
+ //sleep:
647
+ System . Threading . Thread . Sleep ( 2000 ) ;
648
+
645
649
var fields = new HashEntry ( "title" , "hello world" ) ;
646
650
//fields.("title", "hello world");
647
651
for ( int i = 0 ; i < 100 ; i ++ )
@@ -702,6 +706,10 @@ public async Task AlterAddAsync()
702
706
Schema sc = new Schema ( ) . AddTextField ( "title" , 1.0 ) ;
703
707
704
708
Assert . True ( ft . Create ( index , FTCreateParams . CreateParams ( ) , sc ) ) ;
709
+
710
+ //sleep:
711
+ System . Threading . Thread . Sleep ( 2000 ) ;
712
+
705
713
var fields = new HashEntry ( "title" , "hello world" ) ;
706
714
//fields.("title", "hello world");
707
715
for ( int i = 0 ; i < 100 ; i ++ )
You can’t perform that action at this time.
0 commit comments