Commit 7a0fd9d7 authored by Eteri's avatar Eteri

do only test 1 and 2

parent 67660998
...@@ -17,7 +17,7 @@ import utils ...@@ -17,7 +17,7 @@ import utils
test_msg = "dummyInputSimpleIngest" test_msg = "dummyInputSimpleIngest"
url = "http://$${caddy-configuration:local_ip}:4443" url = "http://$${caddy-configuration:local_ip}:8443"
caddy_pidfile = "$${directory:etc}/caddy_pidfile" caddy_pidfile = "$${directory:etc}/caddy_pidfile"
...@@ -103,7 +103,7 @@ class TestIngestion(FluentdPluginTestCase): ...@@ -103,7 +103,7 @@ class TestIngestion(FluentdPluginTestCase):
self.assertEqual(test_msg, posted_data) self.assertEqual(test_msg, posted_data)
time.sleep(10) time.sleep(10)
self.assertEqual(test_msg, posted_data.split(" ")[1]) self.assertEqual(test_msg, posted_data.split(" ")[1])
'''
def test_3_keepAlive_on(self): def test_3_keepAlive_on(self):
print("############## TEST 3 ##############") print("############## TEST 3 ##############")
s = requests.session() s = requests.session()
...@@ -162,7 +162,7 @@ class TestIngestion(FluentdPluginTestCase): ...@@ -162,7 +162,7 @@ class TestIngestion(FluentdPluginTestCase):
start_fluentd_cat("dummyInputTags_6_3", "test_Tag_6_3") start_fluentd_cat("dummyInputTags_6_3", "test_Tag_6_3")
time.sleep(2) time.sleep(2)
self.assertEqual("test_Tag_6_3", request_tag) self.assertEqual("test_Tag_6_3", request_tag)
'''
def start_fluentd_cat(test_msg, tag): def start_fluentd_cat(test_msg, tag):
os.environ["GEM_PATH"] ="$${fluentd-service:path}/lib/ruby/gems/1.8/" os.environ["GEM_PATH"] ="$${fluentd-service:path}/lib/ruby/gems/1.8/"
......
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