Unsure how the last commit had an old edit, but this should fix tests now.
This commit is contained in:
parent
80a0a3ce70
commit
21bf565e57
1 changed files with 4 additions and 4 deletions
|
|
@ -47,7 +47,7 @@ class TestServer(TestCase):
|
||||||
_FLUSH_CACHE=DEFAULT,
|
_FLUSH_CACHE=DEFAULT,
|
||||||
connection=DEFAULT,
|
connection=DEFAULT,
|
||||||
_IDMAPPER_CACHE_MAXSIZE=1000,
|
_IDMAPPER_CACHE_MAXSIZE=1000,
|
||||||
_MAINTENANCE_COUNT=600 - 1,
|
_MAINTENANCE_COUNT=5 - 1,
|
||||||
ServerConfig=DEFAULT,
|
ServerConfig=DEFAULT,
|
||||||
) as mocks:
|
) as mocks:
|
||||||
mocks["connection"].close = MagicMock()
|
mocks["connection"].close = MagicMock()
|
||||||
|
|
@ -65,7 +65,7 @@ class TestServer(TestCase):
|
||||||
_FLUSH_CACHE=DEFAULT,
|
_FLUSH_CACHE=DEFAULT,
|
||||||
connection=DEFAULT,
|
connection=DEFAULT,
|
||||||
_IDMAPPER_CACHE_MAXSIZE=1000,
|
_IDMAPPER_CACHE_MAXSIZE=1000,
|
||||||
_MAINTENANCE_COUNT=3600 - 1,
|
_MAINTENANCE_COUNT=60 - 1,
|
||||||
_LAST_SERVER_TIME_SNAPSHOT=0,
|
_LAST_SERVER_TIME_SNAPSHOT=0,
|
||||||
ServerConfig=DEFAULT,
|
ServerConfig=DEFAULT,
|
||||||
) as mocks:
|
) as mocks:
|
||||||
|
|
@ -84,7 +84,7 @@ class TestServer(TestCase):
|
||||||
_FLUSH_CACHE=DEFAULT,
|
_FLUSH_CACHE=DEFAULT,
|
||||||
connection=DEFAULT,
|
connection=DEFAULT,
|
||||||
_IDMAPPER_CACHE_MAXSIZE=1000,
|
_IDMAPPER_CACHE_MAXSIZE=1000,
|
||||||
_MAINTENANCE_COUNT=62 - 1,
|
_MAINTENANCE_COUNT=61 - 1,
|
||||||
_LAST_SERVER_TIME_SNAPSHOT=0,
|
_LAST_SERVER_TIME_SNAPSHOT=0,
|
||||||
ServerConfig=DEFAULT,
|
ServerConfig=DEFAULT,
|
||||||
) as mocks:
|
) as mocks:
|
||||||
|
|
@ -102,7 +102,7 @@ class TestServer(TestCase):
|
||||||
_FLUSH_CACHE=DEFAULT,
|
_FLUSH_CACHE=DEFAULT,
|
||||||
connection=DEFAULT,
|
connection=DEFAULT,
|
||||||
_IDMAPPER_CACHE_MAXSIZE=1000,
|
_IDMAPPER_CACHE_MAXSIZE=1000,
|
||||||
_MAINTENANCE_COUNT=(3600 * 7) - 1,
|
_MAINTENANCE_COUNT=(60 * 7) - 1,
|
||||||
_LAST_SERVER_TIME_SNAPSHOT=0,
|
_LAST_SERVER_TIME_SNAPSHOT=0,
|
||||||
ServerConfig=DEFAULT,
|
ServerConfig=DEFAULT,
|
||||||
) as mocks:
|
) as mocks:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue