[ARVADOS] updated: 2.1.0-949-ge506fa36b

Git user git at public.arvados.org
Fri Jun 18 15:28:38 UTC 2021


Summary of changes:
 sdk/go/arvados/fs_site_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  e506fa36be9b9b2cb67abb8cd964358394a3a4fe (commit)
      from  e627df2797dae0d6fa95da61f1a58bb9fafe8240 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e506fa36be9b9b2cb67abb8cd964358394a3a4fe
Author: Tom Clegg <tom at curii.com>
Date:   Fri Jun 18 11:28:08 2021 -0400

    17464: Fix auto-enable DebugLocksPanicMode.
    
    refs #17464
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/sdk/go/arvados/fs_site_test.go b/sdk/go/arvados/fs_site_test.go
index a41a9f4da..dc432114a 100644
--- a/sdk/go/arvados/fs_site_test.go
+++ b/sdk/go/arvados/fs_site_test.go
@@ -36,7 +36,7 @@ func init() {
 	// Enable DebugLocksPanicMode sometimes. Don't enable it all
 	// the time, though -- it adds many calls to time.Sleep(),
 	// which could hide different bugs.
-	if time.Now().Seconds()&1 == 0 {
+	if time.Now().Second()&1 == 0 {
 		DebugLocksPanicMode = true
 	}
 }

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list