Uh oh!
There was an error while loading. Please reload this page.
Use CollectionAssert in ListDirectory tests - #1166
Conversation
WojciechNagorski
commented
Aug 31, 2023
Can you tell me in what order you got the results? |
Rob-Hague
commented
Aug 31, 2023
Same for I have not looked at the implementation, but I would not expect it to do any sorting - the user can sort the files how they like. |
WojciechNagorski
commented
Aug 31, 2023
It needs to be checked. I don't know if it shouldn't be deterministic. |
Rob-Hague
commented
Sep 8, 2023
So the directory listing functionality is the sending of a SSH.NET/src/Renci.SshNet/SftpClient.cs Line 2276 in 9f1699b SSH.NET/src/Renci.SshNet/Sftp/SftpSession.cs Line 1196 in 9f1699b SSH.NET/src/Renci.SshNet/Sftp/Responses/SftpNameResponse.cs Lines 27 to 44 in 9f1699b It looks fine to me. |
ee7785e to
314ec57CompareRob-Hague
commented
Oct 21, 2023
Also seen in #1220 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
WojciechNagorski
commented
Nov 13, 2023
WojciechNagorski
commented
Dec 29, 2023
The 2023.0.1 version has been released to Nuget: https://www.nuget.org/packages/SSH.NET/2023.0.1 |

These tests were failing for me because the files were coming in in a different order
Plus,
CollectionAssert.AreEquivalentgives a nice failure message