Skip to content

Commit

Permalink
Merge pull request #19 from TRON-US/BTFS-1762-2
Browse files Browse the repository at this point in the history
BTFS-1762 allow most success for test
  • Loading branch information
rich lee authored Apr 20, 2020
2 parents 8478a1e + 5f1981d commit 5c9acda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ func TestStorageUploadWithOnSign(t *testing.T) {

s := NewShell(shellUrl)

mhash, err := s.Add(bytes.NewBufferString(string(randBytes(is, 15))), Chunker("reed-solomon-1-1-256000"))
mhash, err := s.Add(bytes.NewBufferString(string(randBytes(is, 150))), Chunker("reed-solomon"))
is.Nil(err)

sessionId, err := s.StorageUpload(mhash)
Expand Down Expand Up @@ -497,7 +497,7 @@ func TestStorageUploadWithOffSign(t *testing.T) {

s := NewShell(shellUrl)

mhash, err := s.Add(bytes.NewBufferString(string(randBytes(is, 15))), Chunker("reed-solomon-1-1-256000"))
mhash, err := s.Add(bytes.NewBufferString(string(randBytes(is, 150))), Chunker("reed-solomon"))
is.Nil(err)

uts := s.GetUts()
Expand Down

0 comments on commit 5c9acda

Please sign in to comment.