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
4dc8a771
Commit
4dc8a771
authored
Jul 06, 2018
by
Eteri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix keep-alive test, change address of the plugin to nexedi
parent
a04dadae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
software/erp5testnode/testsuite/fluentTest/software.cfg
software/erp5testnode/testsuite/fluentTest/software.cfg
+1
-2
software/erp5testnode/testsuite/fluentTest/tests/test.py
software/erp5testnode/testsuite/fluentTest/tests/test.py
+8
-3
No files found.
software/erp5testnode/testsuite/fluentTest/software.cfg
View file @
4dc8a771
...
...
@@ -83,8 +83,7 @@ mode = 0644
[fluentd-plugin-dev-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/Sokhoyan/fluent-plugin-wendelin.git
branch = add-keep-alive
repository = https://lab.nexedi.com/nexedi/fluent-plugin-wendelin.git
# dir is pretty name as top-level -dev recipe
git-executable = ${git:location}/bin/git
...
...
software/erp5testnode/testsuite/fluentTest/tests/test.py
View file @
4dc8a771
...
...
@@ -110,9 +110,14 @@ class TestIngestion(FluentdPluginTestCase):
start_fluentd_cat
(
self
,
"dummyInputDelayCheckKeepAlive"
,
"tag_test_3"
)
time
.
sleep
(
10
)
for
conn
in
caddy_process
.
connections
(
'inet'
):
if
len
(
conn
.
raddr
)
>
1
and
conn
.
laddr
.
port
==
4443
:
self
.
assertEqual
(
'ESTABLISHED'
,
conn
.
status
)
#conn.status == 'ESTABLISHED' :
self
.
assertEqual
(
[
'ESTABLISHED'
],
[
conn
.
status
for
conn
in
caddy_process
.
connections
(
'inet'
)
if
len
(
conn
.
raddr
)
>
1
and
conn
.
laddr
.
port
==
4443
])
#for conn in caddy_process.connections('inet'):
# if len(conn.raddr) > 1 and conn.laddr.port == 4443:
# self.assertEqual('ESTABLISHED', conn.status) #conn.status == 'ESTABLISHED' :
def
test_ingest_with_15mins_delay
(
self
):
'''
...
...
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