9
9
using OmniSharp . Extensions . JsonRpc ;
10
10
using OmniSharp . Extensions . JsonRpc . Server ;
11
11
using OmniSharp . Extensions . JsonRpc . Testing ;
12
+ using TestingUtils ;
12
13
using Xunit ;
13
14
using Xunit . Abstractions ;
14
15
@@ -29,7 +30,7 @@ private class Data
29
30
public string Value { get ; set ; } = null ! ;
30
31
}
31
32
32
- [ Fact ]
33
+ [ RetryFact ]
33
34
public async Task Should_Send_and_receive_requests ( )
34
35
{
35
36
var ( client , server ) = await Initialize (
@@ -44,7 +45,7 @@ public async Task Should_Send_and_receive_requests()
44
45
clientResponse . Value . Should ( ) . Be ( "myresponse" ) ;
45
46
}
46
47
47
- [ Fact ]
48
+ [ RetryFact ]
48
49
public async Task Should_throw_when_sending_requests ( )
49
50
{
50
51
var ( client , server ) = await Initialize (
@@ -59,7 +60,7 @@ public async Task Should_throw_when_sending_requests()
59
60
serverRequest . Should ( ) . Throw < InvalidParametersException > ( ) ;
60
61
}
61
62
62
- [ Fact ]
63
+ [ RetryFact ]
63
64
public async Task Should_throw_when_receiving_requests ( )
64
65
{
65
66
var ( client , server ) = await Initialize (
@@ -74,7 +75,7 @@ public async Task Should_throw_when_receiving_requests()
74
75
serverRequest . Should ( ) . Throw < InternalErrorException > ( ) ;
75
76
}
76
77
77
- [ Fact ]
78
+ [ RetryFact ]
78
79
public async Task Should_Send_and_receive_notifications ( )
79
80
{
80
81
var clientNotification = new AsyncSubject < Data > ( ) ;
@@ -107,7 +108,7 @@ public async Task Should_Send_and_receive_notifications()
107
108
clientResponse . Value . Should ( ) . Be ( "esnopserym" ) ;
108
109
}
109
110
110
- [ Fact ]
111
+ [ RetryFact ]
111
112
public async Task Should_Send_and_cancel_requests_immediate ( )
112
113
{
113
114
var ( client , server ) = await Initialize (
@@ -143,7 +144,7 @@ public async Task Should_Send_and_cancel_requests_immediate()
143
144
}
144
145
}
145
146
146
- [ Fact ]
147
+ [ RetryFact ]
147
148
public async Task Should_Send_and_cancel_requests_from_otherside ( )
148
149
{
149
150
var ( client , server ) = await Initialize (
@@ -180,7 +181,7 @@ public async Task Should_Send_and_cancel_requests_from_otherside()
180
181
}
181
182
}
182
183
183
- [ Fact ]
184
+ [ RetryFact ]
184
185
public async Task Should_Cancel_Parallel_Requests_When_Options_Are_Given ( )
185
186
{
186
187
var ( client , server ) = await Initialize (
@@ -231,7 +232,7 @@ public async Task Should_Cancel_Parallel_Requests_When_Options_Are_Given()
231
232
}
232
233
}
233
234
234
- [ Fact ]
235
+ [ RetryFact ]
235
236
public async Task Should_Link_Request_A_to_Request_B ( )
236
237
{
237
238
var ( client , server ) = await Initialize (
0 commit comments