Control: tag -1 patch
On 5/13/24 9:15 AM, Reinhard Tartler wrote:
I suspect this issue may be triggered by the upload of golang-golang-x-sync
0.7.0 to sid. #1071035 is another issue related to code changes in the
semaphore implmentation.
in google-api-go, I've found exactly one upstream commit that we don't
currently have in debian in the 'support/bundler' package:
https://github.com/googleapis/google-api-go-client/commit/8d0b2b5bc50e98e2865818bee89911d3348b43dc
The commit message talks about a bugfix in the http/transport, but the commit
also update the x/sync package 0.7 and increases a timeout. I wonder whether
bumping the timeout would be the thing to do in debian as well?
I'll try later when I have a better internet connection.
Please consider the attached patch that I've extracted from the above upstream
commit. This reliably fixes the FTBFS for me.
Index: golang-google-api/support/bundler/bundler_test.go
===================================================================
--- golang-google-api.orig/support/bundler/bundler_test.go
+++ golang-google-api/support/bundler/bundler_test.go
@@ -394,7 +394,7 @@ func TestBundlerTimeBasedFlushDeadlock(t
b.BundleByteThreshold = math.MaxInt32
ctx, cancel := context.WithCancel(context.Background())
- time.AfterFunc(1*time.Second, cancel)
+ time.AfterFunc(15*time.Second, cancel)
add := func(i int) {
for j := 0; j < iterations; j++ {