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
9737ca32
Commit
9737ca32
authored
Jun 25, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
66375c86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+17
-1
No files found.
wcfs/wcfs_test.py
View file @
9737ca32
...
...
@@ -1353,6 +1353,23 @@ def test_wcfs_watch_robust():
wl
.
close
()
# verify that wcfs kills slow/faulty client who does not reply to pin in time.
# XXX place -> after normal tests? (yes, seems better - together with watch_robust)
@
func
def
test_wcfs_pintimeout_kill
():
t
=
tDB
();
zf
=
t
.
zfile
# XXX wcfs arg: lower kill timeout
defer
(
t
.
close
)
# XXX move into subprocess not to kill whole testing
at1
=
t
.
commit
(
zf
,
{
2
:
'c1'
})
at2
=
t
.
commit
(
zf
,
{
2
:
'c2'
})
f
=
t
.
open
(
zf
)
f
.
assertData
([
''
,
''
,
'c2'
])
wl
=
# verify that watch setup/update sends correct pins.
@
func
def
test_wcfs_watch_setup
():
...
...
@@ -1632,7 +1649,6 @@ def test_wcfs_watch_2files():
# XXX watch with @at > head - must wait for head to become >= at
# XXX no reply to pin - killed
# XXX watch @at when file did not existed -> error
...
...
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