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
8fc9fb4b
Commit
8fc9fb4b
authored
Mar 05, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f4edeea3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
wcfs/client/client_test.py
wcfs/client/client_test.py
+5
-2
No files found.
wcfs/client/client_test.py
View file @
8fc9fb4b
...
@@ -166,12 +166,15 @@ def test_wcfs_client():
...
@@ -166,12 +166,15 @@ def test_wcfs_client():
tm1
.
assertBlk
(
3
,
'd3'
,
{})
tm1
.
assertBlk
(
3
,
'd3'
,
{})
tm1
.
assertBlk
(
4
,
'e3'
,
{})
tm1
.
assertBlk
(
4
,
'e3'
,
{})
# mmap after .size completely (start > size)
m2
=
fh
.
mmap
(
5
,
2
);
defer
(
m2
.
unmap
);
tm2
=
tMapping
(
t
,
m2
)
tm2
.
assertBlk
(
5
,
''
,
{})
tm2
.
assertBlk
(
6
,
''
,
{})
# resync ↓ -> "forbidden" (reject is from server) -> wconn is down.
# resync ↓ -> "forbidden" (reject is from server) -> wconn is down.
with
raises
(
error
,
match
=
": going back in history is forbidden"
):
wconn
.
resync
(
at2
)
with
raises
(
error
,
match
=
": going back in history is forbidden"
):
wconn
.
resync
(
at2
)
with
raises
(
error
,
match
=
".*: connection closed"
):
wconn
.
open
(
zf
.
_p_oid
)
with
raises
(
error
,
match
=
".*: connection closed"
):
wconn
.
open
(
zf
.
_p_oid
)
# XXX mmap after .size completely (start > size)
# XXX w mapping with RW - in sync
# XXX w mapping with RW - in sync
# XXX fh close then open again and use
# XXX fh close then open again and use
...
...
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