Commit fca55801 authored by Jérome Perrin's avatar Jérome Perrin

*: typo instanciate -> instantiate

See https://en.wiktionary.org/wiki/instanciated :

> Misspelling of instantiated.
parent bd3c2b18
...@@ -7,7 +7,7 @@ set up. ...@@ -7,7 +7,7 @@ set up.
How to Use generic_varnish ? How to Use generic_varnish ?
============================ ============================
On slap console, you can instanciate varnish like this:: On slap console, you can instantiate varnish like this::
instance = request( instance = request(
software_type='varnish', software_type='varnish',
......
...@@ -59,7 +59,7 @@ Setting up replication ...@@ -59,7 +59,7 @@ Setting up replication
In addition to your usual parameter set, you needs to provide the following parameters:: In addition to your usual parameter set, you needs to provide the following parameters::
{ {
"zope-partition-dict": {}, So no zope is instanciated "zope-partition-dict": {}, So no zope is instantiated
"zodb": [ "zodb": [
{ {
"storage-dict": { "storage-dict": {
......
...@@ -53,9 +53,9 @@ class TestPublishedURLIsReachableMixin(object): ...@@ -53,9 +53,9 @@ class TestPublishedURLIsReachableMixin(object):
'/VirtualHostBase/https/virtual-host-name:1234/{}/VirtualHostRoot/_vh_virtual_host_root/' '/VirtualHostBase/https/virtual-host-name:1234/{}/VirtualHostRoot/_vh_virtual_host_root/'
.format(site_id)) .format(site_id))
# What happens is that instanciation just create the services, but does not # What happens is that instantiation just create the services, but does not
# wait for ERP5 to be initialized. When this test run ERP5 instance is # wait for ERP5 to be initialized. When this test run ERP5 instance is
# instanciated, but zope is still busy creating the site and haproxy replies # instantiated, but zope is still busy creating the site and haproxy replies
# with 503 Service Unavailable when zope is not started yet, with 404 when # with 503 Service Unavailable when zope is not started yet, with 404 when
# erp5 site is not created, with 500 when mysql is not yet reachable, so we # erp5 site is not created, with 500 when mysql is not yet reachable, so we
# configure this requests session to retry. # configure this requests session to retry.
...@@ -105,7 +105,7 @@ class TestPublishedURLIsReachableMixin(object): ...@@ -105,7 +105,7 @@ class TestPublishedURLIsReachableMixin(object):
class TestDefaultParameters(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin): class TestDefaultParameters(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin):
"""Test ERP5 can be instanciated with no parameters """Test ERP5 can be instantiated with no parameters
""" """
__partition_reference__ = 'defp' __partition_reference__ = 'defp'
...@@ -121,7 +121,7 @@ class TestMedusa(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin): ...@@ -121,7 +121,7 @@ class TestMedusa(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin):
class TestBalancerPorts(ERP5InstanceTestCase): class TestBalancerPorts(ERP5InstanceTestCase):
"""Instanciate with two zope families, this should create for each family: """Instantiate with two zope families, this should create for each family:
- a balancer entry point with corresponding haproxy - a balancer entry point with corresponding haproxy
- a balancer entry point for test runner - a balancer entry point for test runner
""" """
...@@ -196,7 +196,7 @@ class TestBalancerPorts(ERP5InstanceTestCase): ...@@ -196,7 +196,7 @@ class TestBalancerPorts(ERP5InstanceTestCase):
class TestDisableTestRunner(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin): class TestDisableTestRunner(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin):
"""Test ERP5 can be instanciated without test runner. """Test ERP5 can be instantiated without test runner.
""" """
__partition_reference__ = 'distr' __partition_reference__ = 'distr'
@classmethod @classmethod
......
...@@ -48,9 +48,9 @@ class TestPublishedURLIsReachableMixin(object): ...@@ -48,9 +48,9 @@ class TestPublishedURLIsReachableMixin(object):
"""Mixin that checks that default page of ERP5 is reachable. """Mixin that checks that default page of ERP5 is reachable.
""" """
def _checkERP5IsReachable(self, url): def _checkERP5IsReachable(self, url):
# What happens is that instanciation just create the services, but does not # What happens is that instantiation just create the services, but does not
# wait for ERP5 to be initialized. When this test run ERP5 instance is # wait for ERP5 to be initialized. When this test run ERP5 instance is
# instanciated, but zope is still busy creating the site and haproxy # instantiated, but zope is still busy creating the site and haproxy
# replies with 503 Service Unavailable when zope is not started yet, with # replies with 503 Service Unavailable when zope is not started yet, with
# 404 when erp5 site is not created, with 500 when mysql is not yet # 404 when erp5 site is not created, with 500 when mysql is not yet
# reachable, so we retry in a loop until we get a succesful response. # reachable, so we retry in a loop until we get a succesful response.
...@@ -85,7 +85,7 @@ class TestPublishedURLIsReachableMixin(object): ...@@ -85,7 +85,7 @@ class TestPublishedURLIsReachableMixin(object):
class TestDefaultParameters( class TestDefaultParameters(
ERP5InstanceTestCase, TestPublishedURLIsReachableMixin): ERP5InstanceTestCase, TestPublishedURLIsReachableMixin):
"""Test ERP5 can be instanciated with no parameters """Test ERP5 can be instantiated with no parameters
""" """
__partition_reference__ = 'defp' __partition_reference__ = 'defp'
...@@ -101,7 +101,7 @@ class TestMedusa(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin): ...@@ -101,7 +101,7 @@ class TestMedusa(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin):
class TestApacheBalancerPorts(ERP5InstanceTestCase): class TestApacheBalancerPorts(ERP5InstanceTestCase):
"""Instanciate with two zope families, this should create for each family: """Instantiate with two zope families, this should create for each family:
- a balancer entry point with corresponding haproxy - a balancer entry point with corresponding haproxy
- a balancer entry point for test runner - a balancer entry point for test runner
""" """
...@@ -192,7 +192,7 @@ class TestApacheBalancerPorts(ERP5InstanceTestCase): ...@@ -192,7 +192,7 @@ class TestApacheBalancerPorts(ERP5InstanceTestCase):
class TestDisableTestRunner( class TestDisableTestRunner(
ERP5InstanceTestCase, TestPublishedURLIsReachableMixin): ERP5InstanceTestCase, TestPublishedURLIsReachableMixin):
"""Test ERP5 can be instanciated without test runner. """Test ERP5 can be instantiated without test runner.
""" """
__partition_reference__ = 'distr' __partition_reference__ = 'distr'
@classmethod @classmethod
......
...@@ -129,7 +129,7 @@ To create the frontend, you now have to wait the slaprunner to be processed. ...@@ -129,7 +129,7 @@ To create the frontend, you now have to wait the slaprunner to be processed.
You can define the type of your backend using "custom-frontend-backend-type". eg: zope You can define the type of your backend using "custom-frontend-backend-type". eg: zope
If you deploy a server, which uses basic auth, you also have to declare the parameter "custom-frontend-basic-auth" as true, or your slaprunner instance won't show as correctly instanciated. If you deploy a server, which uses basic auth, you also have to declare the parameter "custom-frontend-basic-auth" as true, or your slaprunner instance won't show as correctly instantiated.
Example : Example :
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
......
...@@ -41,7 +41,7 @@ Server ...@@ -41,7 +41,7 @@ Server
.. topic:: caucased(prefix, caucased_path, data_dir, netloc, service_auto_approve_count=0, key_len=None, promise=None) .. topic:: caucased(prefix, caucased_path, data_dir, netloc, service_auto_approve_count=0, key_len=None, promise=None)
This macro produces the following sections which you will want to reference sothey get instanciated: This macro produces the following sections which you will want to reference so they get instantiated:
- `<prefix>`: Creates `<caucased>` executable file to start `caucased`, - `<prefix>`: Creates `<caucased>` executable file to start `caucased`,
and `<data_dir>` directory for its data storage needs. and `<data_dir>` directory for its data storage needs.
......
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