Skip to content

Commit

Permalink
fix: disable ressource manager in test
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Apr 20, 2023
1 parent 40417a6 commit aa442f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang 1.19
golang 1.19.7
golangci-lint 1.50.1
1 change: 1 addition & 0 deletions tests/testing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func testingRepo(ctx context.Context, t *testing.T) repo.Repo {
c.Addresses.Swarm = []string{"/ip4/127.0.0.1/tcp/4001", "/ip4/127.0.0.1/udp/4001/quic"}
c.Identity.PeerID = pid.Pretty()
c.Identity.PrivKey = base64.StdEncoding.EncodeToString(privkeyb)
c.Swarm.ResourceMgr.Enabled = cfg.False // we don't need ressources manager for test

return &repo.Mock{
D: dsync.MutexWrap(ds.NewMapDatastore()),
Expand Down

0 comments on commit aa442f5

Please sign in to comment.