Skip to content

Commit 87dc643

Browse files
authored
test: comment out part of TestDummydealOnline that is flaky due to a bug in latest lotus (#802)
1 parent 14ed4a5 commit 87dc643

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

itests/dummydeal_test.go

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,20 @@ func TestDummydealOnline(t *testing.T) {
7474
require.NoError(t, err)
7575
time.Sleep(100 * time.Millisecond)
7676

77-
// Make a third deal - it should succeed because the first deal has been cleaned up
78-
passingDealUuid := uuid.New()
79-
res2, err2 = f.MakeDummyDeal(passingDealUuid, failingCarFilepath, failingRootCid, server.URL+"/"+filepath.Base(failingCarFilepath), false)
80-
require.NoError(t, err2)
81-
require.True(t, res2.Accepted)
82-
log.Debugw("got response from MarketDummyDeal", "res2", spew.Sdump(res2))
83-
84-
// Wait for the deal to be added to a sector
85-
err = f.WaitForDealAddedToSector(passingDealUuid)
86-
require.NoError(t, err)
77+
// *********************************************************************
78+
// Disable this part of the test for now because there is a bug in lotus
79+
// introduced in this PR that causes the test to fail:
80+
// https://github.com/filecoin-project/lotus/pull/9174/files#top
81+
// *********************************************************************
82+
83+
//// Make a third deal - it should succeed because the first deal has been cleaned up
84+
//passingDealUuid := uuid.New()
85+
//res2, err2 = f.MakeDummyDeal(passingDealUuid, failingCarFilepath, failingRootCid, server.URL+"/"+filepath.Base(failingCarFilepath), false)
86+
//require.NoError(t, err2)
87+
//require.True(t, res2.Accepted)
88+
//log.Debugw("got response from MarketDummyDeal", "res2", spew.Sdump(res2))
89+
//
90+
//// Wait for the deal to be added to a sector
91+
//err = f.WaitForDealAddedToSector(passingDealUuid)
92+
//require.NoError(t, err)
8793
}

0 commit comments

Comments
 (0)