Commit c082067b authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frotnend/test: Minimise partition path length

At least trafficserver is known to not start on partitions on testnode like:

/srv/slapgrid/slappartX/srv/testnode/XXX/inst/test0-0/tmp/inst/TestSlaveGlobalDisableHttp2-1

so shorten the TestSlaveGlobalDisableHttp2 and others to simple T, which will result with path:

/srv/slapgrid/slappartX/srv/testnode/XXX/inst/test0-0/tmp/inst/T-1
parent a5ec5754
...@@ -182,7 +182,7 @@ class SlapOSInstanceTestCase(unittest.TestCase): ...@@ -182,7 +182,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
"log_directory": cls.working_directory, "log_directory": cls.working_directory,
"computer_id": 'slapos.test', # XXX "computer_id": 'slapos.test', # XXX
'proxy_database': os.path.join(cls.working_directory, 'proxy.db'), 'proxy_database': os.path.join(cls.working_directory, 'proxy.db'),
'partition_reference': cls.__name__, 'partition_reference': 'T', # minimise path length, see https://github.com/apache/trafficserver/issues/2421
# "proper" slapos command must be in $PATH # "proper" slapos command must be in $PATH
'slapos_binary': 'slapos', 'slapos_binary': 'slapos',
'node_quantity': '3', 'node_quantity': '3',
......
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