@@ -36,16 +36,16 @@ public async Task TestModulsTransaction()
36
36
db . Execute ( "FLUSHALL" ) ;
37
37
var tran = new Transaction ( db ) ;
38
38
39
- await tran . Bf . ReserveAsync ( "bf-key" , 0.001 , 100 ) ;
40
- await tran . Bf . AddAsync ( "bf-key" , "1" ) ;
41
- await tran . Cms . InitByDimAsync ( "cms-key" , 100 , 5 ) ;
42
- await tran . Cf . ReserveAsync ( "cf-key" , 100 ) ;
43
- await tran . Graph . QueryAsync ( "graph-key" , "CREATE ({name:'shachar',age:23})" ) ;
44
- await tran . Json . SetAsync ( "json-key" , "$" , "{}" ) ;
45
- await tran . Ft . CreateAsync ( "ft-key" , new FTCreateParams ( ) , new Schema ( ) . AddTextField ( "txt" ) ) ;
46
- await tran . Tdigest . CreateAsync ( "tdigest-key" , 100 ) ;
47
- await tran . Ts . CreateAsync ( "ts-key" , 100 ) ;
48
- await tran . TopK . ReserveAsync ( "topk-key" , 100 , 100 , 100 ) ;
39
+ _ = tran . Bf . ReserveAsync ( "bf-key" , 0.001 , 100 ) ;
40
+ _ = tran . Bf . AddAsync ( "bf-key" , "1" ) ;
41
+ _ = tran . Cms . InitByDimAsync ( "cms-key" , 100 , 5 ) ;
42
+ _ = tran . Cf . ReserveAsync ( "cf-key" , 100 ) ;
43
+ _ = tran . Graph . QueryAsync ( "graph-key" , "CREATE ({name:'shachar',age:23})" ) ;
44
+ _ = tran . Json . SetAsync ( "json-key" , "$" , "{}" ) ;
45
+ _ = tran . Ft . CreateAsync ( "ft-key" , new FTCreateParams ( ) , new Schema ( ) . AddTextField ( "txt" ) ) ;
46
+ _ = tran . Tdigest . CreateAsync ( "tdigest-key" , 100 ) ;
47
+ _ = tran . Ts . CreateAsync ( "ts-key" , 100 ) ;
48
+ _ = tran . TopK . ReserveAsync ( "topk-key" , 100 , 100 , 100 ) ;
49
49
50
50
Assert . False ( db . KeyExists ( "bf-key" ) ) ;
51
51
Assert . False ( db . KeyExists ( "cms-key" ) ) ;
@@ -88,15 +88,15 @@ public async Task TestModulsTransactionWithoutGraph()
88
88
db . Execute ( "FLUSHALL" ) ;
89
89
var tran = new Transaction ( db ) ;
90
90
91
- await tran . Bf . ReserveAsync ( "bf-key" , 0.001 , 100 ) ;
92
- await tran . Bf . AddAsync ( "bf-key" , "1" ) ;
93
- await tran . Cms . InitByDimAsync ( "cms-key" , 100 , 5 ) ;
94
- await tran . Cf . ReserveAsync ( "cf-key" , 100 ) ;
95
- await tran . Json . SetAsync ( "json-key" , "$" , "{}" ) ;
96
- await tran . Ft . CreateAsync ( "ft-key" , new FTCreateParams ( ) , new Schema ( ) . AddTextField ( "txt" ) ) ;
97
- await tran . Tdigest . CreateAsync ( "tdigest-key" , 100 ) ;
98
- await tran . Ts . CreateAsync ( "ts-key" , 100 ) ;
99
- await tran . TopK . ReserveAsync ( "topk-key" , 100 , 100 , 100 ) ;
91
+ _ = tran . Bf . ReserveAsync ( "bf-key" , 0.001 , 100 ) ;
92
+ _ = tran . Bf . AddAsync ( "bf-key" , "1" ) ;
93
+ _ = tran . Cms . InitByDimAsync ( "cms-key" , 100 , 5 ) ;
94
+ _ = tran . Cf . ReserveAsync ( "cf-key" , 100 ) ;
95
+ _ = tran . Json . SetAsync ( "json-key" , "$" , "{}" ) ;
96
+ _ = tran . Ft . CreateAsync ( "ft-key" , new FTCreateParams ( ) , new Schema ( ) . AddTextField ( "txt" ) ) ;
97
+ _ = tran . Tdigest . CreateAsync ( "tdigest-key" , 100 ) ;
98
+ _ = tran . Ts . CreateAsync ( "ts-key" , 100 ) ;
99
+ _ = tran . TopK . ReserveAsync ( "topk-key" , 100 , 100 , 100 ) ;
100
100
101
101
Assert . False ( db . KeyExists ( "bf-key" ) ) ;
102
102
Assert . False ( db . KeyExists ( "cms-key" ) ) ;
0 commit comments