1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
From: Reinhard Tartler <siretart@tauware.de>
Last-updated: 2024-05-13
Description: Fix deadlock in test after updating golang.org/x/sync to 0.7.0
Debian-Bug: https://bugs.debian.org/1071038
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++ {
|