Skip to content
Snippets Groups Projects
Commit a3da7662 authored by Tobias Quathamer's avatar Tobias Quathamer
Browse files

Fix FTBFS on 32 bit.

Closes: #860699
parent ea28a88b
No related merge requests found
--- a/pubsub/endtoend_test.go
+++ b/pubsub/endtoend_test.go
@@ -66,7 +66,7 @@
// Simulate time taken to process m, while continuing to process more messages.
go func() {
// Some messages will need to have their ack deadline extended due to this delay.
- delay := rand.Intn(int(ackDeadline * 3))
+ delay := rand.Int63n(int64(ackDeadline * 3))
time.After(time.Duration(delay))
m.Done(true)
}()
0001-Bug#840311-fix-test-timeouts.patch
0002-Failing_test.patch
0003-Network_accessing_tests.patch
0004-Fix_FTBFS_on_32_bit.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment