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
01b1d8d0
Commit
01b1d8d0
authored
Mar 04, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
7b79065f
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 @
01b1d8d0
...
...
@@ -175,12 +175,11 @@ def test_wcfs_client():
# XXX wconn.open() after wconn.close() -> error
# XXX wconn.resync() after wconn.close() -> error
# XXX all fileh / mappings become invalid after wconn.close
# verify that on Conn/FileH down/closed -> Mappings switch to EFAULT on access.
@
func
def
test_wcfs_client_down_efault
():
# XXX all fileh / mappings become invalid after wconn.close
t
=
tDB
();
zf
=
t
.
zfile
;
at0
=
t
.
at0
defer
(
t
.
close
)
pinned
=
lambda
fh
:
fhpinned
(
t
,
fh
)
...
...
@@ -199,6 +198,7 @@ def test_wcfs_client_down_efault():
tm1
=
tMapping
(
t
,
m1
)
tm1
.
assertBlk
(
2
,
'c1'
,
{})
tm1
.
assertBlk
(
3
,
'd1'
,
{})
tm1
.
assertBlk
(
4
,
''
,
{})
with
panics
(
"not faulted"
):
tm1
.
assertBlkFaults
(
2
)
with
panics
(
"not faulted"
):
tm1
.
assertBlkFaults
(
3
)
...
...
@@ -207,3 +207,4 @@ def test_wcfs_client_down_efault():
fh
.
close
()
tm1
.
assertBlkFaults
(
2
)
tm1
.
assertBlkFaults
(
3
)
tm1
.
assertBlkFaults
(
4
)
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