mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Revert "tests/net/gcoap_fileserver: fix race condition"
This reverts commit 653bd615bd
.
This commit is contained in:
parent
d512ff6262
commit
0a5dae88f4
@ -110,11 +110,6 @@ def test_linear_topology(factory, zep_dispatch):
|
||||
# upload the file to node B (only one node should write MEMORY.bin)
|
||||
A.cmd("ncput /const/song.txt coap://[" + global_addr(B.cmd("ifconfig 7"))[1] + "]/vfs/song2.txt", timeout=60)
|
||||
|
||||
# It seems like failures may occur due to the `ncput` command finishing but
|
||||
# the data not being written to the file yet. Therefore, we wait a bit...
|
||||
# This is just a guess though.
|
||||
time.sleep(0.5)
|
||||
|
||||
# make sure the content matches
|
||||
assert B.cmd("md5sum /nvm0/song.txt").split()[2] == B.cmd("md5sum /nvm0/song2.txt").split()[2]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user