Skip to content

Commit 19dc155

Browse files
tweak tests
1 parent fa536d1 commit 19dc155

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/Lsp.Tests/Integration/ProgressTests.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private class Data
2828
public string Value { get; set; } = "Value";
2929
}
3030

31-
[Fact]
31+
[RetryFact]
3232
public async Task Should_Send_Progress_From_Server_To_Client()
3333
{
3434
var token = new ProgressToken(Guid.NewGuid().ToString());
@@ -78,7 +78,7 @@ await Observable.Create<Unit>(
7878
data.Should().ContainInOrder(new[] { "1", "3", "2", "4", "5" });
7979
}
8080

81-
[Fact]
81+
[RetryFact]
8282
public async Task Should_Send_Progress_From_Client_To_Server()
8383
{
8484
var token = new ProgressToken(Guid.NewGuid().ToString());
@@ -131,14 +131,14 @@ await Observable.Create<Unit>(
131131
data.Should().ContainInOrder(new[] { "1", "3", "2", "4", "5" });
132132
}
133133

134-
[Fact]
134+
[RetryFact]
135135
public void WorkDone_Should_Be_Supported()
136136
{
137137
Server.WorkDoneManager.IsSupported.Should().BeTrue();
138138
Client.WorkDoneManager.IsSupported.Should().BeTrue();
139139
}
140140

141-
[Fact]
141+
[RetryFact]
142142
public async Task Should_Support_Creating_Work_Done_From_Sever_To_Client()
143143
{
144144
var token = new ProgressToken(Guid.NewGuid().ToString());
@@ -200,7 +200,7 @@ public async Task Should_Support_Creating_Work_Done_From_Sever_To_Client()
200200
results.Should().ContainInOrder("Begin", "Report 1", "Report 2", "Report 3", "Report 4", "End");
201201
}
202202

203-
[Fact]
203+
[RetryFact]
204204
public async Task Should_Support_Observing_Work_Done_From_Client_To_Server_Request()
205205
{
206206
var token = new ProgressToken(Guid.NewGuid().ToString());
@@ -262,7 +262,7 @@ public async Task Should_Support_Observing_Work_Done_From_Client_To_Server_Reque
262262
results.Should().ContainInOrder("Begin", "Report 1", "Report 2", "Report 3", "Report 4", "End");
263263
}
264264

265-
[Fact]
265+
[RetryFact]
266266
public async Task Should_Support_Cancelling_Work_Done_From_Client_To_Server_Request()
267267
{
268268
var token = new ProgressToken(Guid.NewGuid().ToString());

0 commit comments

Comments
 (0)