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
17dc88ea
Commit
17dc88ea
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
71eb1456
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 @
17dc88ea
...
...
@@ -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 @
17dc88ea
...
...
@@ -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 @
17dc88ea
...
...
@@ -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