Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
00027fae
Commit
00027fae
authored
Apr 29, 2010
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a test bug that led to spurious failures.
parent
699cd279
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
src/ZEO/tests/zeo-fan-out.test
src/ZEO/tests/zeo-fan-out.test
+1
-10
No files found.
src/ZEO/tests/zeo-fan-out.test
View file @
00027fae
...
@@ -85,15 +85,6 @@ Now, let's see if we can break it. :)
...
@@ -85,15 +85,6 @@ Now, let's see if we can break it. :)
... c.transaction_manager.abort()
... c.transaction_manager.abort()
... c.close()
... c.close()
>>> def g():
... c = db0.open(transaction.TransactionManager())
... r = c.root()
... for i in range(100):
... for j in range(1000, 2000):
... r[j].v += 1
... c.transaction_manager.commit()
... c.close()
>>> import threading
>>> import threading
>>> threadf = threading.Thread(target=f)
>>> threadf = threading.Thread(target=f)
>>> threadg = threading.Thread(target=f)
>>> threadg = threading.Thread(target=f)
...
@@ -107,7 +98,7 @@ Now, let's see if we can break it. :)
...
@@ -107,7 +98,7 @@ Now, let's see if we can break it. :)
... t = tm2.begin()
... t = tm2.begin()
... if r2[1].v + r2[2].v:
... if r2[1].v + r2[2].v:
... print 'oops', r2[1], r2[2]
... print 'oops', r2[1], r2[2]
... if r2[1].v ==
9
00:
... if r2[1].v ==
8
00:
... break # we caught up
... break # we caught up
... path = s2.fshelper.getBlobFilename(*blob_id)
... path = s2.fshelper.getBlobFilename(*blob_id)
... if os.path.exists(path):
... if os.path.exists(path):
...
...
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