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
52528478
Commit
52528478
authored
Nov 26, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
52bc8503
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
wcfs/internal/_wcfs.pyx
wcfs/internal/_wcfs.pyx
+0
-1
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+4
-1
No files found.
wcfs/internal/_wcfs.pyx
View file @
52528478
...
...
@@ -159,7 +159,6 @@ cdef class PyWatchLink:
raise
RuntimeError
(
err
.
Error
())
# XXX -> Xpy(err) ? pyraiseIf(err) ?
#printf("pyxsendReq: reply -> ok\n")
return
reply
...
...
wcfs/wcfs_test.py
View file @
52528478
...
...
@@ -1380,6 +1380,8 @@ def test_wcfs_watch_setup_ahead():
defer
(
wl
.
close
)
wat
=
tidfromtime
(
tidtime
(
at1
)
+
1
*
dt
)
# > at1, but < at2
rx
=
wl
.
sendReq
(
ctx
,
b"watch %s @%s"
%
(
h
(
zf
.
_p_oid
),
h
(
wat
)))
"""
rxq = wl._sendReq(ctx, b"watch %s @%s" % (h(zf._p_oid), h(wat)))
_, _rx = select(
ctx.done().recv, # 0
...
...
@@ -1387,8 +1389,9 @@ def test_wcfs_watch_setup_ahead():
)
if _ == 0:
raise ctx.err()
"""
assert
ready
(
committing
)
assert
_
rx
==
b"ok"
assert
rx
==
b"ok"
wg
.
go
(
_
)
# T2: sleep(10·dt); commit
...
...
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