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
8e6a0000
Commit
8e6a0000
authored
Jul 17, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
835aec09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+3
-3
No files found.
wcfs/wcfs_test.py
View file @
8e6a0000
...
...
@@ -1738,7 +1738,7 @@ def test_wcfspy_virtmem():
wconn
=
t
.
wc
.
connect
(
at1
)
defer
(
wconn
.
close
)
# mmap with 1 block beyond file size
#
create
mmap with 1 block beyond file size
m1
=
wconn
.
mmap
(
zf
.
_p_oid
,
2
,
3
)
defer
(
m1
.
unmap
)
...
...
@@ -1752,7 +1752,7 @@ def test_wcfspy_virtmem():
#assertCache(m1, [0,0,0])
assert
f
.
pinned
==
{}
# initial data reads
#
verify
initial data reads
tm1
.
assertBlk
(
2
,
'c1'
)
assert
f
.
pinned
==
{
2
:
at1
}
tm1
.
assertBlk
(
3
,
'd1'
)
...
...
@@ -1760,7 +1760,7 @@ def test_wcfspy_virtmem():
tm1
.
assertBlk
(
4
,
''
)
assert
f
.
pinned
==
{
2
:
at1
}
# commit with growing file size -> verify data read as the same, #3 pinned
# commit with growing file size -> verify data read as the same, #3 pinned
.
# (#4 is not yet pinned because it was not accessed)
at3
=
t
.
commit
(
zf
,
{
3
:
'd3'
,
4
:
'e3'
})
assert
f
.
pinned
==
{
2
:
at1
}
...
...
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