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
5ce08a73
Commit
5ce08a73
authored
Jul 17, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
555cc2ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
wcfs/__init__.py
wcfs/__init__.py
+5
-1
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+5
-0
No files found.
wcfs/__init__.py
View file @
5ce08a73
...
@@ -145,7 +145,11 @@ def connect(wc, at): # -> Conn
...
@@ -145,7 +145,11 @@ def connect(wc, at): # -> Conn
def
close
(
wconn
):
def
close
(
wconn
):
wconn
.
_wlink
.
close
()
wconn
.
_wlink
.
close
()
wconn
.
_pinCancel
()
wconn
.
_pinCancel
()
wconn
.
_pinWG
.
wait
()
# XXX canceled - ok
try
:
wconn
.
_pinWG
.
wait
()
except
Exception
as
e
:
# canceled - ok
if
e
is
not
context
.
canceled
:
raise
# close all files - both that have no mappings and that still have opened mappings.
# close all files - both that have no mappings and that still have opened mappings.
# XXX after file is closed mappings continue to survive, but we can no
# XXX after file is closed mappings continue to survive, but we can no
...
...
wcfs/wcfs_test.py
View file @
5ce08a73
...
@@ -1761,6 +1761,11 @@ def test_wcfspy_virtmem():
...
@@ -1761,6 +1761,11 @@ def test_wcfspy_virtmem():
#assertData (m1, ['c1','d1',''])
#assertData (m1, ['c1','d1',''])
at3
=
t
.
commit
(
zf
,
{
3
:
'd3'
})
assert
f
.
pinned
==
{
2
:
at1
}
tm1
.
assertBlk
(
3
,
'd1'
)
assert
f
.
pinned
==
{
2
:
at1
,
3
:
at1
}
# ---- misc ---
# ---- misc ---
...
...
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