feat: deflake TestDMLevelPartialRetrieval (#10972)

This commit is contained in:
Aayush Rajasekaran 2023-06-12 18:49:13 -05:00 committed by GitHub
parent 1e29616832
commit 1ba0e4b997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ func TestDMLevelPartialRetrieval(t *testing.T) {
kit.QuietMiningLogs() kit.QuietMiningLogs()
client, miner, ens := kit.EnsembleMinimal(t, kit.ThroughRPC()) client, miner, ens := kit.EnsembleMinimal(t, kit.ThroughRPC())
dh := kit.NewDealHarness(t, client, miner, miner) dh := kit.NewDealHarness(t, client, miner, miner)
ens.InterconnectAll().BeginMining(50 * time.Millisecond) ens.InterconnectAll().BeginMiningMustPost(50 * time.Millisecond)
_, err := client.ClientImport(ctx, api.FileRef{Path: adlFixtureCar, IsCAR: true}) _, err := client.ClientImport(ctx, api.FileRef{Path: adlFixtureCar, IsCAR: true})
require.NoError(t, err) require.NoError(t, err)