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
6b79136e
Commit
6b79136e
authored
Mar 05, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
c0446344
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wcfs/client/client_test.py
wcfs/client/client_test.py
+3
-2
No files found.
wcfs/client/client_test.py
View file @
6b79136e
...
...
@@ -190,8 +190,6 @@ def test_wcfs_client():
with
raises
(
error
,
match
=
": going back in history is forbidden"
):
wconn
.
resync
(
at2
)
with
raises
(
error
,
match
=
".*: connection closed"
):
wconn
.
open
(
zf
.
_p_oid
)
# XXX w mapping with RW - in sync
# verify that on Conn/FileH down/closed -> Mappings switch to EFAULT on access.
@
func
...
...
@@ -282,6 +280,9 @@ def test_wcfs_client_down_efault():
with
raises
(
error
,
match
=
".*: file already closed"
):
fh1
.
mmap
(
2
,
3
)
# fh1 was explicitly closed ^^^
# TODO try to unit test at wcfs client level wcfs.Mapping with dirty RW page -
# that it stays in sync with DB after dirty discard.
# verify that read_mustfault works as expected.
def
test_read_mustfault
():
mem
=
mm
.
map_zero_ro
(
mm
.
PAGE_SIZE
)
...
...
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