Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-bitswap
Commits
7c482eca
Commit
7c482eca
authored
Apr 29, 2021
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: deflake large-message test
parent
9de18049
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
internal/messagequeue/messagequeue_test.go
internal/messagequeue/messagequeue_test.go
+1
-1
No files found.
internal/messagequeue/messagequeue_test.go
View file @
7c482eca
...
...
@@ -501,7 +501,7 @@ func TestSendingLargeMessages(t *testing.T) {
messageQueue.Startup()
messageQueue.AddWants(wantBlocks, []cid.Cid{})
messages := collectMessages(ctx, t, messagesSent, 10*time.Millisecond)
messages := collectMessages(ctx, t, messagesSent, 10
0
*time.Millisecond)
// want-block has size 44, so with maxMsgSize 44 * 3 (3 want-blocks), then if
// we send 10 want-blocks we should expect 4 messages:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment