99using OmniSharp . Extensions . JsonRpc ;
1010using OmniSharp . Extensions . JsonRpc . Server ;
1111using OmniSharp . Extensions . JsonRpc . Testing ;
12+ using TestingUtils ;
1213using Xunit ;
1314using Xunit . Abstractions ;
1415
@@ -29,7 +30,7 @@ private class Data
2930 public string Value { get ; set ; } = null ! ;
3031 }
3132
32- [ Fact ]
33+ [ RetryFact ]
3334 public async Task Should_Send_and_receive_requests ( )
3435 {
3536 var ( client , server ) = await Initialize (
@@ -44,7 +45,7 @@ public async Task Should_Send_and_receive_requests()
4445 clientResponse . Value . Should ( ) . Be ( "myresponse" ) ;
4546 }
4647
47- [ Fact ]
48+ [ RetryFact ]
4849 public async Task Should_throw_when_sending_requests ( )
4950 {
5051 var ( client , server ) = await Initialize (
@@ -59,7 +60,7 @@ public async Task Should_throw_when_sending_requests()
5960 serverRequest . Should ( ) . Throw < InvalidParametersException > ( ) ;
6061 }
6162
62- [ Fact ]
63+ [ RetryFact ]
6364 public async Task Should_throw_when_receiving_requests ( )
6465 {
6566 var ( client , server ) = await Initialize (
@@ -74,7 +75,7 @@ public async Task Should_throw_when_receiving_requests()
7475 serverRequest . Should ( ) . Throw < InternalErrorException > ( ) ;
7576 }
7677
77- [ Fact ]
78+ [ RetryFact ]
7879 public async Task Should_Send_and_receive_notifications ( )
7980 {
8081 var clientNotification = new AsyncSubject < Data > ( ) ;
@@ -107,7 +108,7 @@ public async Task Should_Send_and_receive_notifications()
107108 clientResponse . Value . Should ( ) . Be ( "esnopserym" ) ;
108109 }
109110
110- [ Fact ]
111+ [ RetryFact ]
111112 public async Task Should_Send_and_cancel_requests_immediate ( )
112113 {
113114 var ( client , server ) = await Initialize (
@@ -143,7 +144,7 @@ public async Task Should_Send_and_cancel_requests_immediate()
143144 }
144145 }
145146
146- [ Fact ]
147+ [ RetryFact ]
147148 public async Task Should_Send_and_cancel_requests_from_otherside ( )
148149 {
149150 var ( client , server ) = await Initialize (
@@ -180,7 +181,7 @@ public async Task Should_Send_and_cancel_requests_from_otherside()
180181 }
181182 }
182183
183- [ Fact ]
184+ [ RetryFact ]
184185 public async Task Should_Cancel_Parallel_Requests_When_Options_Are_Given ( )
185186 {
186187 var ( client , server ) = await Initialize (
@@ -231,7 +232,7 @@ public async Task Should_Cancel_Parallel_Requests_When_Options_Are_Given()
231232 }
232233 }
233234
234- [ Fact ]
235+ [ RetryFact ]
235236 public async Task Should_Link_Request_A_to_Request_B ( )
236237 {
237238 var ( client , server ) = await Initialize (
0 commit comments