Skip to content

Commit

Permalink
improve comm tests stability
Browse files Browse the repository at this point in the history
  • Loading branch information
viordash committed Oct 1, 2023
1 parent 35d8346 commit 329c6f9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public async Task Send_Common_Big_Data_Test() {
clipboardData.Add("Text", new MemoryStream(bytes));

await client.SendData(clipboardData);
await Task.Delay(3000);
await server.Stop();
client.Stop();

Expand Down Expand Up @@ -145,6 +146,7 @@ public async Task Send_Files_Test() {

} finally {
Directory.Delete(testsPath, true);
await Task.Delay(1000);
await server.Stop();
client.Stop();
}
Expand Down Expand Up @@ -202,6 +204,7 @@ public async Task Send_Big_File_Test() {
await client.SendFileDropList(files);
} finally {
Directory.Delete(testsPath, true);
await Task.Delay(3000);
await server.Stop();
client.Stop();
}
Expand Down Expand Up @@ -275,6 +278,7 @@ public async Task Send_Files_And_Folders_Test() {
await client.SendFileDropList(files);
} finally {
Directory.Delete(testsPath, true);
await Task.Delay(1000);
await server.Stop();
client.Stop();
}
Expand Down Expand Up @@ -360,6 +364,7 @@ public async Task Send_identical_Files__Test() {
await client.SendFileDropList(files);
} finally {
Directory.Delete(testsPath, true);
await Task.Delay(500);
await server.Stop();
client.Stop();
}
Expand Down

0 comments on commit 329c6f9

Please sign in to comment.