WIP fixing tests
This commit is contained in:
parent
1f56bcf581
commit
6a802cc9db
@ -279,12 +279,12 @@ func (cg *ChainGen) NextTipSetFromMiners(base *types.TipSet, miners []address.Ad
|
|||||||
}
|
}
|
||||||
|
|
||||||
fts := store.NewFullTipSet(blks)
|
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 {
|
if len(fts.TipSet().Cids()) > 1 {
|
||||||
for _, b := range blks {
|
for _, b := range blks {
|
||||||
fmt.Printf("block %s: %#v\n", b.Cid(), b.Header)
|
fmt.Printf("block %s: %#v\n", b.Cid(), b.Header)
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
return &MinedTipSet{
|
return &MinedTipSet{
|
||||||
TipSet: fts,
|
TipSet: fts,
|
||||||
|
@ -15,7 +15,9 @@ import (
|
|||||||
const sectorSize = 1024
|
const sectorSize = 1024
|
||||||
|
|
||||||
func TestSealAndVerify(t *testing.T) {
|
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}
|
build.SectorSizes = []uint64{sectorSize}
|
||||||
|
|
||||||
if err := build.GetParams(true); err != nil {
|
if err := build.GetParams(true); err != nil {
|
||||||
@ -41,7 +43,7 @@ func TestSealAndVerify(t *testing.T) {
|
|||||||
SectorSize: sectorSize,
|
SectorSize: sectorSize,
|
||||||
Miner: addr,
|
Miner: addr,
|
||||||
|
|
||||||
WorkerThreads: 1,
|
WorkerThreads: 2,
|
||||||
|
|
||||||
CacheDir: cache,
|
CacheDir: cache,
|
||||||
SealedDir: sealed,
|
SealedDir: sealed,
|
||||||
|
Loading…
Reference in New Issue
Block a user