@@ -15,7 +15,7 @@ public class Call_Should : TestBase
15
15
[ Fact ]
16
16
public async Task call_method ( )
17
17
{
18
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
18
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
19
19
{
20
20
var result = await tarantoolClient . Call_1_6 < TarantoolTuple < double > , TarantoolTuple < double > > ( "math.sqrt" , TarantoolTuple . Create ( 1.3 ) ) ;
21
21
@@ -28,7 +28,7 @@ public async Task call_method()
28
28
[ Fact ]
29
29
public async Task return_null_v1_6_should_not_throw ( )
30
30
{
31
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
31
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
32
32
{
33
33
await Should . ThrowAsync < ArgumentException > ( async ( ) => await tarantoolClient . Call_1_6 < TarantoolTuple < string , int > > ( "return_null" ) ) ;
34
34
}
@@ -37,7 +37,7 @@ public async Task return_null_v1_6_should_not_throw()
37
37
[ Fact ]
38
38
public async Task return_tuple_v1_6_with_null_should_not_throw ( )
39
39
{
40
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
40
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
41
41
{
42
42
var result = await tarantoolClient . Call_1_6 < TarantoolTuple < string > > ( "return_tuple_with_null" ) ;
43
43
result . Data . ShouldBe ( new [ ] { TarantoolTuple . Create ( default ( string ) ) } ) ;
@@ -47,7 +47,7 @@ public async Task return_tuple_v1_6_with_null_should_not_throw()
47
47
[ Fact ]
48
48
public async Task return_tuple_v1_6_should_not_throw ( )
49
49
{
50
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
50
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
51
51
{
52
52
var result = await tarantoolClient . Call_1_6 < TarantoolTuple < int , int > > ( "return_tuple" ) ;
53
53
result . Data . ShouldBe ( new [ ] { TarantoolTuple . Create ( 1 , 2 ) } ) ;
@@ -57,7 +57,7 @@ public async Task return_tuple_v1_6_should_not_throw()
57
57
[ Fact ]
58
58
public async Task return_int_v1_6_should_not_throw ( )
59
59
{
60
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
60
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
61
61
{
62
62
var result = await tarantoolClient . Call_1_6 < TarantoolTuple < int > > ( "return_scalar" ) ;
63
63
result . Data . ShouldBe ( new [ ] { TarantoolTuple . Create ( 1 ) } ) ;
@@ -67,7 +67,7 @@ public async Task return_int_v1_6_should_not_throw()
67
67
[ Fact ]
68
68
public async Task return_nothing_v1_6_should_not_throw ( )
69
69
{
70
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
70
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
71
71
{
72
72
Should . NotThrow ( async ( ) => await tarantoolClient . Call_1_6 ( "return_nothing" ) ) ;
73
73
}
@@ -76,7 +76,7 @@ public async Task return_nothing_v1_6_should_not_throw()
76
76
[ Fact ]
77
77
public async Task return_null_should_not_throw ( )
78
78
{
79
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
79
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
80
80
{
81
81
var result = await tarantoolClient . Call < TarantoolTuple < string , int > > ( "return_null" ) ;
82
82
result . Data . ShouldBe ( new [ ] { default ( TarantoolTuple < string , int > ) } ) ;
@@ -86,7 +86,7 @@ public async Task return_null_should_not_throw()
86
86
[ Fact ]
87
87
public async Task return_tuple_with_null_should_not_throw ( )
88
88
{
89
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
89
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
90
90
{
91
91
var result = await tarantoolClient . Call < TarantoolTuple < string > > ( "return_tuple_with_null" ) ;
92
92
result . Data . ShouldBe ( new [ ] { TarantoolTuple . Create ( default ( string ) ) } ) ;
@@ -96,7 +96,7 @@ public async Task return_tuple_with_null_should_not_throw()
96
96
[ Fact ]
97
97
public async Task return_tuple_should_not_throw ( )
98
98
{
99
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
99
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
100
100
{
101
101
var result = await tarantoolClient . Call < TarantoolTuple < int , int > > ( "return_tuple" ) ;
102
102
result . Data . ShouldBe ( new [ ] { TarantoolTuple . Create ( 1 , 2 ) } ) ;
@@ -106,7 +106,7 @@ public async Task return_tuple_should_not_throw()
106
106
[ Fact ]
107
107
public async Task return_array_should_not_throw ( )
108
108
{
109
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
109
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
110
110
{
111
111
var result = await tarantoolClient . Call < TarantoolTuple < string [ ] > > ( "return_array" ) ;
112
112
result . Data [ 0 ] . Item1 . ShouldBe ( new [ ] { "abc" , "def" } ) ;
@@ -116,7 +116,7 @@ public async Task return_array_should_not_throw()
116
116
[ Fact ]
117
117
public async Task return_int_should_not_throw ( )
118
118
{
119
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
119
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
120
120
{
121
121
var result = await tarantoolClient . Call < int > ( "return_scalar" ) ;
122
122
result . Data . ShouldBe ( new [ ] { 1 } ) ;
@@ -126,7 +126,7 @@ public async Task return_int_should_not_throw()
126
126
[ Fact ]
127
127
public async Task return_nothing_should_not_throw ( )
128
128
{
129
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
129
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_7 ( ) ) )
130
130
{
131
131
Should . NotThrow ( async ( ) => await tarantoolClient . Call ( "return_nothing" ) ) ;
132
132
}
@@ -135,7 +135,7 @@ public async Task return_nothing_should_not_throw()
135
135
[ Fact ]
136
136
public async Task replace_via_call ( )
137
137
{
138
- using ( var tarantoolClient = await Client . Box . Connect ( ConnectionStringFactory . GetReplicationSource_1_8 ( ) ) )
138
+ using ( var tarantoolClient = await Client . Box . Connect ( await ConnectionStringFactory . GetReplicationSource_1_8 ( ) ) )
139
139
{
140
140
var tuple = ( "123" , new byte [ ] { 1 , 2 , 3 } ) ;
141
141
var result = await tarantoolClient . Call < ValueTuple < string , byte [ ] > [ ] , ValueTuple < string , byte [ ] > > (
0 commit comments