summaryrefslogtreecommitdiff
path: root/subplot/server.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-01-04 18:57:49 +0200
committerLars Wirzenius <liw@liw.fi>2021-01-04 20:02:06 +0200
commit8efabc60f87e5462b01f4832d575f68382929624 (patch)
tree422b3941b6867871486df2198aef0e431c6b95ac /subplot/server.yaml
parent650b7cee5700eae9ab6c300fbdb816dead6f01f5 (diff)
downloadobnam2-8efabc60f87e5462b01f4832d575f68382929624.tar.gz
feat: verify checksum of chunks downloaded from server
Diffstat (limited to 'subplot/server.yaml')
-rw-r--r--subplot/server.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/subplot/server.yaml b/subplot/server.yaml
index 2cc2b5f..68f8f0c 100644
--- a/subplot/server.yaml
+++ b/subplot/server.yaml
@@ -25,6 +25,9 @@
- when: "I try to DELETE /chunks/{chunk_id}"
function: delete_chunk_by_id
+- when: "chunk <{chunk_id}> on chunk server is replaced by an empty file"
+ function: make_chunk_file_be_empty
+
- then: "HTTP status code is {status}"
function: status_code_is