Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
slapos
Commits
33e853c5
Commit
33e853c5
authored
May 04, 2018
by
Eteri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add prints to debug
parent
151137d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
software/erp5testnode/testsuite/fluentTest/instance-caddy-fluentd.cfg.in
...stnode/testsuite/fluentTest/instance-caddy-fluentd.cfg.in
+3
-1
software/erp5testnode/testsuite/fluentTest/tests/test.py
software/erp5testnode/testsuite/fluentTest/tests/test.py
+5
-0
No files found.
software/erp5testnode/testsuite/fluentTest/instance-caddy-fluentd.cfg.in
View file @
33e853c5
...
...
@@ -113,4 +113,6 @@ command-line =
environment =
PATH=${buildout:bin-directory}:/usr/bin/:/bin/
LOCAL_IPV4=$${slap-network-information:local-ipv4}
GLOBAL_IPV6=$${slap-network-information:global-ipv6}
\ No newline at end of file
GLOBAL_IPV6=$${slap-network-information:global-ipv6}
context =
key local_ip caddy-configuration:local_ip
\ No newline at end of file
software/erp5testnode/testsuite/fluentTest/tests/test.py
View file @
33e853c5
...
...
@@ -78,6 +78,11 @@ class TestIngestion(FluentdPluginTestCase):
server
=
HTTPServer
(
server_address
,
TestServerHandler
)
cls
.
server_process
=
multiprocessing
.
Process
(
target
=
server
.
serve_forever
)
cls
.
server_process
.
start
()
print
(
"Server started..."
)
print
(
"local ipv4 = "
)
print
(
os
.
environ
.
get
(
'LOCAL_IPV4'
))
print
(
"passed local ip"
)
print
({{
local_ip
}})
@
classmethod
def
stopServer
(
cls
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment