diff options
author | 2021-10-13 09:16:09 +0000 | |
---|---|---|
committer | 2021-10-15 02:54:15 +0000 | |
commit | 8ea70b60efac67f8b4ad4be8b8018a946f551d06 (patch) | |
tree | e95f994f3bc1e960722221ab5a923077e3caf827 /tests | |
parent | 8e86bb7817a272fa8d1c6ecc16435e1324326ac0 (diff) |
Fix pod become unready state
The original implementation used Popen but its stdout pipe became
clogged because the captured output was not processed properly.
As a result, readiness check failed due to health-check server
not responding and the pod became unready state.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2832
Change-Id: I98259e25fe40d5374a2c4236fc20bd631673f15e
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_trapd_vnf_table.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_trapd_vnf_table.py b/tests/test_trapd_vnf_table.py index 577a320..4f6e5e4 100644 --- a/tests/test_trapd_vnf_table.py +++ b/tests/test_trapd_vnf_table.py @@ -43,6 +43,7 @@ class test_vnf_tables(unittest.TestCase): """ global ip_address, port_num, user_name, password, db_name, cbs_polling_required, cbs_polling_interval ip_address, port_num, user_name, password, db_name, cbs_polling_required, cbs_polling_interval = hb_properties() + def test_validate_vnf_table_1(self): result =verify_DB_creation_1(user_name,password,ip_address,port_num,db_name) self.assertEqual(result, True) @@ -55,7 +56,6 @@ class test_vnf_tables(unittest.TestCase): result =verify_DB_creation_hb_common(user_name,password,ip_address,port_num,db_name) self.assertEqual(result, True) - def test_cbspolling(self): result= verify_cbspolling() _logger.info(result) |