Commit 42fc6d53 authored by Kirill Smelkov's avatar Kirill Smelkov

X pickle -> zodbpickle to be able to work with protocol=3

nexedi/slapos!839 (comment 119084)
parent c1c26894
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import os import os
import cPickle, pickle, sys, time from zodbpickle import slowpickle as pickle, fastpickle as cPickle
import sys, time
from bisect import bisect, insort from bisect import bisect, insort
from collections import deque from collections import deque
from cStringIO import StringIO from cStringIO import StringIO
......
...@@ -320,11 +320,6 @@ class ImporterTests(NEOThreadedTest): ...@@ -320,11 +320,6 @@ class ImporterTests(NEOThreadedTest):
(lambda path: path[0] not in multi or len(path) == 1), (lambda path: path[0] not in multi or len(path) == 1),
(lambda db: lambda path: path[0] in (db, 4))) (lambda db: lambda path: path[0] in (db, 4)))
if getattr(serialize, '_protocol', 1) > 1:
# XXX: With ZODB5, we should at least keep a working test that does not
# merge several DB.
testMerge = expectedFailure(NEOPrimaryMasterLost)(testMerge)
def testIncremental(self): def testIncremental(self):
""" """
This reproduces an undocumented way to speed up the import of a single This reproduces an undocumented way to speed up the import of a single
......
...@@ -44,7 +44,7 @@ get3rdParty(x, '3rdparty/' + x, 'https://lab.nexedi.com/nexedi/erp5' ...@@ -44,7 +44,7 @@ get3rdParty(x, '3rdparty/' + x, 'https://lab.nexedi.com/nexedi/erp5'
'/raw/14b0fcdcc31c5791646f9590678ca028f5d221f5/product/ERP5Type/' + x, '/raw/14b0fcdcc31c5791646f9590678ca028f5d221f5/product/ERP5Type/' + x,
'abb7970856540fd02150edd1fa9a3a3e8d0074ec526ab189684ef7ea9b41825f') 'abb7970856540fd02150edd1fa9a3a3e8d0074ec526ab189684ef7ea9b41825f')
zodb_require = ['ZODB3>=3.10dev'] zodb_require = ['ZODB3>=3.10dev', 'zodbpickle<2']
extras_require = { extras_require = {
'admin': [], 'admin': [],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment