More post-refactor fixes

This commit is contained in:
Łukasz Magiera
2019-11-07 19:43:23 +01:00
parent 58c21b4a5e
commit f40eb8a521
4 changed files with 19 additions and 14 deletions
+4 -1
View File
@@ -12,6 +12,7 @@ import (
logging "github.com/ipfs/go-log"
"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/build"
"github.com/filecoin-project/lotus/chain/address"
"github.com/filecoin-project/lotus/chain/types"
"github.com/filecoin-project/lotus/node/impl"
@@ -20,6 +21,8 @@ import (
func TestDealFlow(t *testing.T, b APIBuilder) {
os.Setenv("BELLMAN_NO_GPU", "1")
build.SectorSizes = []uint64{1024}
logging.SetAllLoggers(logging.LevelInfo)
ctx := context.Background()
n, sn := b(t, 1, []int{0})
@@ -36,7 +39,7 @@ func TestDealFlow(t *testing.T, b APIBuilder) {
}
time.Sleep(time.Second)
r := io.LimitReader(rand.New(rand.NewSource(17)), 350)
r := io.LimitReader(rand.New(rand.NewSource(17)), 257)
fcid, err := client.ClientImportLocal(ctx, r)
if err != nil {
t.Fatal(err)