Skip to content

Commit

Permalink
Merge branch 'main' into feat/noncar-files
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuthr committed Nov 29, 2023
2 parents 6484461 + 6e412c2 commit d742e64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmd/booster-http/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ var runCmd = &cli.Command{
Name: "pprof",
Usage: "run pprof web server on localhost:6070",
},
&cli.UintFlag{
Name: "pprof-port",
Usage: "the http port to serve pprof on",
Value: 6070,
},
&cli.StringFlag{
Name: "base-path",
Usage: "the base path at which to run the web server",
Expand Down Expand Up @@ -178,8 +183,9 @@ var runCmd = &cli.Command{
}

if cctx.Bool("pprof") {
pprofPort := cctx.Int("pprof-port")
go func() {
err := http.ListenAndServe("localhost:6070", nil)
err := http.ListenAndServe(fmt.Sprintf("localhost:%d", pprofPort), nil)
if err != nil {
log.Error(err)
}
Expand Down
2 changes: 2 additions & 0 deletions storagemarket/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ func TestMultipleDealsConcurrent(t *testing.T) {
}

func TestDealsRejectedForFunds(t *testing.T) {
t.Skip("flaky test")

ctx := context.Background()
// setup the provider test harness with configured publish fee per deal and a total wallet balance.
harness := NewHarness(t, withMinPublishFees(abi.NewTokenAmount(100)), withPublishWalletBal(1000))
Expand Down

0 comments on commit d742e64

Please sign in to comment.