Merge pull request #7292 from filecoin-project/nonsense/fix-flaky-test-increase-deal-size

itests: remove cid equality comparison
This commit is contained in:
Steven Allen 2021-09-07 12:21:03 +02:00 committed by GitHub
commit b093d8a6e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,13 +33,11 @@ func TestMaxStagingDeals(t *testing.T) {
list, err := client.ClientListImports(ctx)
require.NoError(t, err)
require.Len(t, list, 1)
require.Equal(t, res.Root, *list[0].Root)
res2, _ := client.CreateImportFile(ctx, 0, 4096)
list, err = client.ClientListImports(ctx)
require.NoError(t, err)
require.Len(t, list, 2)
require.Equal(t, res2.Root, *list[1].Root)
// first deal stays in staging area, and is not yet passed to the sealing subsystem
dp := dh.DefaultStartDealParams()