projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e627df2
)
17464: Fix auto-enable DebugLocksPanicMode.
author
Tom Clegg <tom@curii.com>
Fri, 18 Jun 2021 15:28:08 +0000
(11:28 -0400)
committer
Tom Clegg <tom@curii.com>
Fri, 18 Jun 2021 15:28:08 +0000
(11:28 -0400)
refs #17464
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
sdk/go/arvados/fs_site_test.go
patch
|
blob
|
history
diff --git
a/sdk/go/arvados/fs_site_test.go
b/sdk/go/arvados/fs_site_test.go
index a41a9f4da992f34febd1312d03d25b3995344658..dc432114a60ec58e4925be28ddbbc227ce4188e9 100644
(file)
--- 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().Second
s
()&1 == 0 {
+ if time.Now().Second()&1 == 0 {
DebugLocksPanicMode = true
}
}