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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
53b681e3
Commit
53b681e3
authored
Jun 25, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9737ca32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+16
-1
No files found.
wcfs/wcfs_test.py
View file @
53b681e3
...
...
@@ -1367,7 +1367,22 @@ def test_wcfs_pintimeout_kill():
f
=
t
.
open
(
zf
)
f
.
assertData
([
''
,
''
,
'c2'
])
wl
=
wl
=
t
.
openwatch
()
wg
=
sync
.
WorkGroup
(
XXX
)
def
_
(
ctx
):
# XXX assert?
wl
.
sendReq
(
ctx
,
b"watch %s @%s"
%
(
h
(
zf
.
_p_oid
),
h
(
at1
)))
wg
.
go
(
_
)
def
_
(
ctx
):
req
=
wl
.
recvReq
(
ctx
)
assert
req
is
not
None
assert
req
.
msg
==
b"pin %s #%d @%s"
%
(
h
(
zf
.
_p_oid
),
2
,
h
(
at1
))
# XXX sleep > wcfs pin timeout - wcfs must kill us
assert
False
,
"wcfs did not killed stuck client"
wg
.
go
(
_
)
wg
.
wait
()
# verify that watch setup/update sends correct pins.
...
...
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