Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
istae committed Apr 29, 2024
1 parent 57313d2 commit 1bffb5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/file/joiner/joiner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ func (m *mockPutter) store(cnt int) error {
}

// nolint:thelper
func TestJoinerRedundancy(t *testing.T) {
func TestJoinerRedundancy_FLAKY(t *testing.T) {
t.Parallel()
for _, tc := range []struct {
rLevel redundancy.Level
Expand Down
4 changes: 2 additions & 2 deletions pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ const (
minPaymentThreshold = 2 * refreshRate // minimal accepted payment threshold of full nodes
maxPaymentThreshold = 24 * refreshRate // maximal accepted payment threshold of full nodes
mainnetNetworkID = uint64(1) //
ReserveCapacity = 16384 // 2^14 chunks, TODO: replace before merging to master
reserveWakeUpDuration = 5 * time.Minute // time to wait before waking up reserveWorker
ReserveCapacity = 4194304 // 2^22 chunks
reserveWakeUpDuration = 15 * time.Minute // time to wait before waking up reserveWorker
reserveTreshold = ReserveCapacity * 5 / 10
reserveMinimumRadius = 0
)
Expand Down

0 comments on commit 1bffb5e

Please sign in to comment.