From 24bc6347f705cbc671ffc26d44d67696f81afb39 Mon Sep 17 00:00:00 2001 From: Wyatt Date: Wed, 10 Nov 2021 09:28:16 -0500 Subject: [PATCH] sector storage test --- extern/sector-storage/manager_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/extern/sector-storage/manager_test.go b/extern/sector-storage/manager_test.go index 55d3286cb42..3cf13745437 100644 --- a/extern/sector-storage/manager_test.go +++ b/extern/sector-storage/manager_test.go @@ -192,7 +192,7 @@ func TestSnapDeals(t *testing.T) { defer cleanup() localTasks := []sealtasks.TaskType{ - sealtasks.TTAddPiece, sealtasks.TTPreCommit1, sealtasks.TTCommit1, sealtasks.TTFinalize, sealtasks.TTFetch, sealtasks.TTReplicaUpdate, + sealtasks.TTAddPiece, sealtasks.TTPreCommit1, sealtasks.TTPreCommit2, sealtasks.TTCommit1, sealtasks.TTCommit2, sealtasks.TTFinalize, sealtasks.TTFetch, sealtasks.TTReplicaUpdate, } wds := datastore.NewMapDatastore() @@ -218,12 +218,10 @@ func TestSnapDeals(t *testing.T) { fmt.Printf("PC2\n") pc2Out, err := m.SealPreCommit2(ctx, sid, pc1Out) require.NoError(t, err) - seed := abi.InteractiveSealRandomness{1, 1, 1, 1, 1, 1, 1} fmt.Printf("C1\n") c1Out, err := m.SealCommit1(ctx, sid, ticket, seed, nil, pc2Out) require.NoError(t, err) - fmt.Printf("C2\n") _, err = m.SealCommit2(ctx, sid, c1Out) require.NoError(t, err) @@ -241,7 +239,7 @@ func TestSnapDeals(t *testing.T) { pieces := []abi.PieceInfo{p1, p2} out, err := m.ReplicaUpdate(ctx, sid, pieces) - fmt.Printf("out: %x\n", out) + _ = out require.NoError(t, err) }