Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
a7e3e8f6
Commit
a7e3e8f6
authored
Jul 04, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a135f32d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
wcfs/wcfs.go
wcfs/wcfs.go
+1
-1
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+5
-3
No files found.
wcfs/wcfs.go
View file @
a7e3e8f6
...
@@ -1511,7 +1511,7 @@ func (wlink *WatchLink) setupWatch(ctx context.Context, foid zodb.Oid, at zodb.T
...
@@ -1511,7 +1511,7 @@ func (wlink *WatchLink) setupWatch(ctx context.Context, foid zodb.Oid, at zodb.T
// check at >= w.at
// check at >= w.at
// XXX we might want to allow going back in history if we need it.
// XXX we might want to allow going back in history if we need it.
if
!
(
at
>=
w
.
at
)
{
if
!
(
at
>=
w
.
at
)
{
// XXX locking
return
fmt
.
Errorf
(
"going back in history is forbidden"
)
return
fmt
.
Errorf
(
"going back in history is forbidden"
)
}
}
...
...
wcfs/wcfs_test.py
View file @
a7e3e8f6
...
@@ -60,9 +60,11 @@ def setup_module():
...
@@ -60,9 +60,11 @@ def setup_module():
install_sigbus_trap
()
install_sigbus_trap
()
# if wcfs.go is built with race detector and detects a race - make it fail
# if wcfs.go is built with race detector and detects a race - make it fail
# current test loudly the first wcfs.go race
# current test loudly on the first wcfs.go race
if
"GORACE"
not
in
os
.
environ
:
gorace
=
os
.
environ
.
get
(
"GORACE"
,
""
)
os
.
environ
[
"GORACE"
]
=
"halt_on_error=1"
if
gorace
!=
""
:
gorace
+=
" "
os
.
environ
[
"GORACE"
]
=
gorace
+
"halt_on_error=1"
global
testdb
,
testzurl
,
testmntpt
global
testdb
,
testzurl
,
testmntpt
testdb
=
getTestDB
()
testdb
=
getTestDB
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment