Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Nicolas Wavrant
ZODB
Commits
e13a8745
Commit
e13a8745
authored
Jun 13, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorganize the way concurrent update tests are integrated, because
they shouldn't run with mapping storage.
parent
e044bfcc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
src/ZEO/tests/ConnectionTests.py
src/ZEO/tests/ConnectionTests.py
+1
-1
src/ZEO/tests/InvalidationTests.py
src/ZEO/tests/InvalidationTests.py
+2
-1
src/ZEO/tests/testConnection.py
src/ZEO/tests/testConnection.py
+4
-2
No files found.
src/ZEO/tests/ConnectionTests.py
View file @
e13a8745
...
...
@@ -199,7 +199,7 @@ class CommonSetupTearDown(StorageTestBase):
self
.
fail
(
"timed out waiting for storage to disconnect"
)
class
ConnectionTests
(
CommonSetupTearDown
,
InvalidationTests
):
class
ConnectionTests
(
CommonSetupTearDown
):
"""Tests that explicitly manage the server process.
To test the cache or re-connection, these test cases explicit
...
...
src/ZEO/tests/InvalidationTests.py
View file @
e13a8745
...
...
@@ -20,6 +20,7 @@ from BTrees.check import check, display
from
BTrees.OOBTree
import
OOBTree
from
ZEO.tests.TestThread
import
TestThread
from
ZEO.tests.ConnectionTests
import
CommonSetupTearDown
from
ZODB.DB
import
DB
from
ZODB.POSException
\
...
...
@@ -150,7 +151,7 @@ class VersionStressThread(TestThread):
cn
.
close
()
return
0
class
InvalidationTests
:
class
InvalidationTests
(
CommonSetupTearDown
)
:
level
=
2
DELAY
=
15
...
...
src/ZEO/tests/testConnection.py
View file @
e13a8745
...
...
@@ -20,7 +20,7 @@ platform-dependent scaffolding.
# System imports
import
unittest
# Import the actual test class
from
ZEO.tests
import
ConnectionTests
from
ZEO.tests
import
ConnectionTests
,
InvalidationTests
class
FileStorageConfig
:
...
...
@@ -49,7 +49,8 @@ class MappingStorageConfig:
class
FileStorageConnectionTests
(
FileStorageConfig
,
ConnectionTests
.
ConnectionTests
ConnectionTests
.
ConnectionTests
.
InvalidationTests
.
InvalidationTests
):
"""FileStorage-specific connection tests."""
level
=
2
...
...
@@ -72,6 +73,7 @@ class FileStorageTimeoutTests(
class
BDBConnectionTests
(
BerkeleyStorageConfig
,
ConnectionTests
.
ConnectionTests
InvalidationTests
.
InvalidationTests
):
"""Berkeley storage connection tests."""
level
=
2
...
...
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