Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Thomas Gambier
erp5
Commits
f5e82460
Commit
f5e82460
authored
Apr 09, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testInvalidationBug: skip for ZEO>=5
parent
1c57528b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
product/ERP5/tests/testInvalidationBug.py
product/ERP5/tests/testInvalidationBug.py
+6
-3
No files found.
product/ERP5/tests/testInvalidationBug.py
View file @
f5e82460
...
...
@@ -32,10 +32,15 @@ import threading
import
unittest
import
urllib
import
transaction
import
pkg_resources
from
DateTime
import
DateTime
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
ZEO5
=
pkg_resources
.
parse_version
(
pkg_resources
.
get_distribution
(
'ZEO'
).
version
)
>=
pkg_resources
.
parse_version
(
'5'
)
class
TestInvalidationBug
(
ERP5TypeTestCase
):
def
getTitle
(
self
):
...
...
@@ -94,9 +99,7 @@ class TestInvalidationBug(ERP5TypeTestCase):
self
.
assertEqual
(
result_catalog_count
,
1
)
self
.
assertGreaterEqual
(
result_activity_count
,
1
)
# TODO: - skip this test for ZEO>=5 because it's covered upstream
# (and later remove it)
# - in slapos.git, enable server_sync in zope.conf
@
unittest
.
skipIf
(
ZEO5
,
"Covered upstream on ZEO>=5"
)
def
testLateInvalidationFromZEO
(
self
):
### Check unit test is run properly
from
ZEO.ClientStorage
import
ClientStorage
...
...
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