Commit 33e853c5 authored by Eteri's avatar Eteri

add prints to debug

parent 151137d0
...@@ -114,3 +114,5 @@ environment = ...@@ -114,3 +114,5 @@ environment =
PATH=${buildout:bin-directory}:/usr/bin/:/bin/ PATH=${buildout:bin-directory}:/usr/bin/:/bin/
LOCAL_IPV4=$${slap-network-information:local-ipv4} LOCAL_IPV4=$${slap-network-information:local-ipv4}
GLOBAL_IPV6=$${slap-network-information:global-ipv6} GLOBAL_IPV6=$${slap-network-information:global-ipv6}
context =
key local_ip caddy-configuration:local_ip
\ No newline at end of file
...@@ -78,6 +78,11 @@ class TestIngestion(FluentdPluginTestCase): ...@@ -78,6 +78,11 @@ class TestIngestion(FluentdPluginTestCase):
server = HTTPServer(server_address, TestServerHandler) server = HTTPServer(server_address, TestServerHandler)
cls.server_process = multiprocessing.Process(target=server.serve_forever) cls.server_process = multiprocessing.Process(target=server.serve_forever)
cls.server_process.start() cls.server_process.start()
print("Server started...")
print("local ipv4 = ")
print(os.environ.get('LOCAL_IPV4'))
print("passed local ip")
print({{local_ip}})
@classmethod @classmethod
def stopServer(cls): def stopServer(cls):
......
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