protocol / beyond-bitswap

Other
34 stars 9 forks source link

The use of real files doesn't work with local:docker #10

Closed adlrocha closed 3 years ago

adlrocha commented 3 years ago

If we perform a test in which we use INPUT_DATA=files using local:exec and a DATA_DIR from our local machine, the test runs successfully independent from the size of the dataset (tested from 1MB to 2GB).

If we try to perform the same test using local:docker adding the DATA_DIR through Testground's extra_sources, the test case doesn't finish. I gets stuck.

Using INPUT_DATA=random apparently works for both local:exec and local:docker

adlrocha commented 3 years ago

The following error appears at the end of the local:docker tests. Could it be related with this issue?

2020-09-09T09:27:29.883Z        ERROR   reprovider.simple       failed
 to reprovide: routing: operation or key not supported  {"req_id": "e57b0fcd"} 

See #5

adlrocha commented 3 years ago

Fixed! The problem was in how the dataset directory was being references: