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
afef5ec0
Commit
afef5ec0
authored
Jun 20, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e12a1c0c
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 @
afef5ec0
...
...
@@ -616,7 +616,7 @@ class tFile:
# XXX assert individually for every block's page? (easier debugging?)
assert
blkview
==
dataok
# we just accessed the block
- it has to be in OS cache
# we just accessed the block
in full - it has to be in OS cache completely
assert
t
.
cached
()[
blk
]
==
1
...
...
@@ -649,7 +649,7 @@ class tWatch:
# tWatchLink provides testing environment for /head/watch link opened on wcfs.
#
# .sendReq()/.recvReq() provides raw IO in terms of wcfs invalidation protocol messages.
# .watch() setups
a watch for a file and verifies ... XXX
# .watch() setups
/adjusts a watch for a file and verifies that wcfs sends correct initial pins.
class
tWatchLink
:
def
__init__
(
t
,
tdb
):
...
...
@@ -668,7 +668,7 @@ class tWatchLink:
t
.
_wrx
=
os
.
fdopen
(
wh
,
'rb'
)
t
.
_wtx
=
os
.
fdopen
(
wh2
,
'wb'
)
t
.
rx_eof
=
chan
()
#
.rx_eof
becomes ready when wcfs closes its tx side
t
.
rx_eof
=
chan
()
# becomes ready when wcfs closes its tx side
t
.
fatalv
=
[]
# fatal messages received from wcfs
# inv.protocol message IO
...
...
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