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
9d1ed03e
Commit
9d1ed03e
authored
Mar 05, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1dfaa645
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
6 deletions
+22
-6
wcfs/client/client_test.py
wcfs/client/client_test.py
+22
-6
No files found.
wcfs/client/client_test.py
View file @
9d1ed03e
...
...
@@ -244,13 +244,29 @@ def test_wcfs_client_down_efault():
tm21
.
assertBlk
(
3
,
''
,
{});
tm22
.
assertBlk
(
3
,
''
,
{})
pass
;
tm22
.
assertBlk
(
4
,
''
,
{})
# cose wconn -> fh2 mmaps must turn into efaulting too.
# open f1 again - mapping created via old fh1 continue to efault; new mappings work ok.
fh1_
=
wconn
.
open
(
zf1
.
_p_oid
);
defer
(
fh1_
.
close
)
m11_
=
fh1_
.
mmap
(
1
,
4
);
defer
(
m11_
.
unmap
);
tm11_
=
tMapping
(
t
,
m11_
)
tm11
.
assertBlkFaults
(
1
);
tm11_
.
assertBlk
(
1
,
''
,
{})
tm11
.
assertBlkFaults
(
2
);
tm11_
.
assertBlk
(
2
,
'c1'
,
{})
tm11
.
assertBlkFaults
(
3
);
tm11_
.
assertBlk
(
3
,
'd1'
,
{});
tm12
.
assertBlkFaults
(
3
)
tm11
.
assertBlkFaults
(
4
);
tm11_
.
assertBlk
(
4
,
''
,
{});
tm12
.
assertBlkFaults
(
4
)
pass
;
tm12
.
assertBlkFaults
(
5
)
tm21
.
assertBlk
(
0
,
''
,
{})
tm21
.
assertBlk
(
1
,
'β3'
,
{})
tm21
.
assertBlk
(
2
,
'γ3'
,
{});
tm22
.
assertBlk
(
2
,
'γ3'
,
{})
tm21
.
assertBlk
(
3
,
''
,
{});
tm22
.
assertBlk
(
3
,
''
,
{})
pass
;
tm22
.
assertBlk
(
4
,
''
,
{})
# cose wconn -> fh2 and fh1_ mmaps must turn into efaulting too.
wconn
.
close
()
tm11
.
assertBlkFaults
(
1
)
tm11
.
assertBlkFaults
(
2
)
tm11
.
assertBlkFaults
(
3
);
tm12
.
assertBlkFaults
(
3
)
tm11
.
assertBlkFaults
(
4
);
tm12
.
assertBlkFaults
(
4
)
pass
;
tm12
.
assertBlkFaults
(
5
)
tm11
.
assertBlkFaults
(
1
)
;
tm11_
.
assertBlkFaults
(
1
)
tm11
.
assertBlkFaults
(
2
)
;
tm11_
.
assertBlkFaults
(
2
)
tm11
.
assertBlkFaults
(
3
);
tm1
1_
.
assertBlkFaults
(
3
);
tm1
2
.
assertBlkFaults
(
3
)
tm11
.
assertBlkFaults
(
4
);
tm1
1_
.
assertBlkFaults
(
4
);
tm1
2
.
assertBlkFaults
(
4
)
pass
;
tm12
.
assertBlkFaults
(
5
)
tm21
.
assertBlkFaults
(
0
)
tm21
.
assertBlkFaults
(
1
)
...
...
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