Commit f7396071 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 658a3316
...@@ -59,6 +59,11 @@ def setup_module(): ...@@ -59,6 +59,11 @@ def setup_module():
# read, we want to see python-level traceback instead of being killed. # read, we want to see python-level traceback instead of being killed.
install_sigbus_trap() 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"
global testdb, testzurl, testmntpt global testdb, testzurl, testmntpt
testdb = getTestDB() testdb = getTestDB()
testdb.setup() testdb.setup()
......
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