浏览代码

Set public Send test download count to 1 to fix non authenticated issue

timvisee 6 年之前
父节点
当前提交
10905384af
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      .gitlab-ci.yml

+ 1 - 3
.gitlab-ci.yml

@@ -124,7 +124,6 @@ test-cargo:
 test-public:
   image: alpine:latest
   stage: test
-  allow_failure: true
   dependencies:
     - build-x86_64-linux-musl
   variables:
@@ -138,9 +137,8 @@ test-public:
     - head -c1m </dev/urandom >test.txt
 
     # Generate random file, upload/download and assert equality
-    - ./ffsend upload test.txt -d2 -I
+    - ./ffsend upload test.txt -I
     - ./ffsend download $(./ffsend history -q) -I -o=download.txt
-    - ./ffsend delete $(./ffsend history -q) -I
     - "cmp --silent ./test.txt ./download.txt || (echo ERROR: Downloaded file is different than original; exit 1)"
     - rm ./download.txt