WIP fixing tests

This commit is contained in:
Łukasz Magiera 2019-11-05 18:09:42 +01:00
parent 1f56bcf581
commit 6a802cc9db
2 changed files with 6 additions and 4 deletions

View File

@ -279,12 +279,12 @@ func (cg *ChainGen) NextTipSetFromMiners(base *types.TipSet, miners []address.Ad
}
fts := store.NewFullTipSet(blks)
fmt.Println("Made a block: ", fts.TipSet().Cids())
/*fmt.Println("Made a block: ", fts.TipSet().Cids())
if len(fts.TipSet().Cids()) > 1 {
for _, b := range blks {
fmt.Printf("block %s: %#v\n", b.Cid(), b.Header)
}
}
}*/
return &MinedTipSet{
TipSet: fts,

View File

@ -15,7 +15,9 @@ import (
const sectorSize = 1024
func TestSealAndVerify(t *testing.T) {
//t.Skip("this is slow")
t.Skip("this is slow")
//os.Setenv("BELLMAN_NO_GPU", "1")
build.SectorSizes = []uint64{sectorSize}
if err := build.GetParams(true); err != nil {
@ -41,7 +43,7 @@ func TestSealAndVerify(t *testing.T) {
SectorSize: sectorSize,
Miner: addr,
WorkerThreads: 1,
WorkerThreads: 2,
CacheDir: cache,
SealedDir: sealed,