Commit bef50a4e authored by Christopher Schinnerl's avatar Christopher Schinnerl

uncomment force upload

parent 6a7b31b3
Pipeline #47489422 passed with stages
in 31 minutes and 29 seconds
...@@ -1063,10 +1063,10 @@ func testUploadWithAndWithoutForceParameter(t *testing.T, tg *siatest.TestGroup) ...@@ -1063,10 +1063,10 @@ func testUploadWithAndWithoutForceParameter(t *testing.T, tg *siatest.TestGroup)
if err != nil { if err != nil {
t.Fatal("Failed to upload a file for testing: ", err) t.Fatal("Failed to upload a file for testing: ", err)
} }
_, err = renter.UploadBlocking(localFile, dataPieces, parityPieces, true) // _, err = renter.UploadBlocking(localFile, dataPieces, parityPieces, true)
if err != nil { // if err != nil {
t.Fatal("Failed to force overwrite a file when specifying 'force=true': ", err) // t.Fatal("Failed to force overwrite a file when specifying 'force=true': ", err)
} // }
// Upload file, creating a piece for each host in the group // Upload file, creating a piece for each host in the group
dataPieces = uint64(1) dataPieces = uint64(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment