oysterprotocol / webinterface

Web interface that enables a user to upload a file via the Oyster Protocol
GNU General Public License v3.0
35 stars 5 forks source link

[Webinterface] Re-enable E2E test once metadata is uploaded to tangle quickly. #239

Open jfarago opened 5 years ago

jfarago commented 5 years ago

The tests were disabled because during the upload , the file initially comes back as "not found" because it hasnt been uploaded to the tangle yet.

The reason this was not an issue before because of how we were deriving the metadata. Now that we support resuming uploads, the metadata needs to be derived from the handle.

CKH4 commented 5 years ago

This should be addressed in streamable by polling for the metadata chunk before emitting the event for when passing chunks to the brokers has finished