tests/gcoap_fileserver: add integration test for GCoAP fileserver#18199
tests/gcoap_fileserver: add integration test for GCoAP fileserver#18199benpicco merged 1 commit intoRIOT-OS:masterfrom
Conversation
0f0207d to
0814b78
Compare
chrysn
left a comment
There was a problem hiding this comment.
Generally looks good, will test in next iteration (feel free to rebase if you're confident in your comment addressings)
That's a good text to go into a README in the test. |
0814b78 to
04a94c4
Compare
4159d6e to
cdc4abb
Compare
cdc4abb to
6617f2e
Compare
|
I've given this some testing, and am confused by the outcomes: When just doing When I reduce retransmissions from 10 to |
6617f2e to
14f4f45
Compare
|
Ah good catch! I missed that There are still link-layer retransmissions, but if we get rid of those with things are failing as expected. |
14f4f45 to
c5282bb
Compare
maribu
left a comment
There was a problem hiding this comment.
ACK. Looks good to and it definitely is good to have an end-to-end test in the CI.
|
Thank you! |
Contribution description
This adds an integration test for the GCoAP fileserver / NanoCoAP blockwise get connected over a lossy, simulated 802.15.4 link.
Two nodes are launched, one acting as the fileserver, the other as a client. The server serves a file from
constfsthat the client downloads withncget.Then the hash of the downloaded file is compared with the original file. The test will fail if there is no match.
Testing procedure
Run
Issues/PRs references