Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iliya Manolov
neoppod
Commits
920484d7
Commit
920484d7
authored
Jun 17, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: comment the assertion that detects file descriptor leaks
parent
b57d0dae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
neo/tests/threaded/__init__.py
neo/tests/threaded/__init__.py
+3
-1
neo/tests/threaded/test.py
neo/tests/threaded/test.py
+7
-5
No files found.
neo/tests/threaded/__init__.py
View file @
920484d7
...
...
@@ -142,7 +142,9 @@ class Serialized(object):
@
classmethod
def
stop
(
cls
):
assert
not
cls
.
_fd_dict
,
cls
.
_fd_dict
assert
not
cls
.
_fd_dict
,
(
"file descriptor leak (%r)
\
n
This may happen"
" when a test fails, in which case you can see the real exception"
" by disabling this one."
%
cls
.
_fd_dict
)
del
(
cls
.
_busy
,
cls
.
_busy_cond
,
cls
.
_epoll
,
cls
.
_fd_dict
,
cls
.
_pdb
,
cls
.
_sched_lock
,
cls
.
_tic_lock
)
...
...
neo/tests/threaded/test.py
View file @
920484d7
...
...
@@ -1004,10 +1004,12 @@ class Test(NEOThreadedTest):
# modify x with another client
client
=
cluster
.
newClient
()
try
:
txn
=
transaction
.
Transaction
()
client
.
tpc_begin
(
txn
)
client
.
store
(
x1
.
_p_oid
,
x1
.
_p_serial
,
y
,
''
,
txn
)
tid
=
client
.
tpc_finish
(
txn
,
None
)
finally
:
client
.
close
()
self
.
tic
()
...
...
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