Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
golang-google-cloud
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Go Packaging Team
packages
golang-google-cloud
Commits
a3da7662
Commit
a3da7662
authored
8 years ago
by
Tobias Quathamer
Browse files
Options
Downloads
Patches
Plain Diff
Fix FTBFS on 32 bit.
Closes: #860699
parent
ea28a88b
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/0004-Fix_FTBFS_on_32_bit.patch
+11
-0
11 additions, 0 deletions
debian/patches/0004-Fix_FTBFS_on_32_bit.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
12 additions
and
0 deletions
debian/patches/0004-Fix_FTBFS_on_32_bit.patch
0 → 100644
+
11
−
0
View file @
a3da7662
--- 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)
}()
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
a3da7662
0001-Bug#840311-fix-test-timeouts.patch
0002-Failing_test.patch
0003-Network_accessing_tests.patch
0004-Fix_FTBFS_on_32_bit.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment