Commit a7e3e8f6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a135f32d
......@@ -1511,7 +1511,7 @@ func (wlink *WatchLink) setupWatch(ctx context.Context, foid zodb.Oid, at zodb.T
// check at >= w.at
// 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")
}
......
......@@ -60,9 +60,11 @@ def setup_module():
install_sigbus_trap()
# if wcfs.go is built with race detector and detects a race - make it fail
# current test loudly the first wcfs.go race
if "GORACE" not in os.environ:
os.environ["GORACE"]="halt_on_error=1"
# current test loudly on the first wcfs.go race
gorace = os.environ.get("GORACE", "")
if gorace != "":
gorace += " "
os.environ["GORACE"] = gorace + "halt_on_error=1"
global testdb, testzurl, testmntpt
testdb = getTestDB()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment