From ad1421e482283b8ec6b197a9cb04dccfa0daee1f Mon Sep 17 00:00:00 2001 From: grabinsk Date: Fri, 21 Jun 2019 15:08:21 +0200 Subject: Add test for logging level change in PRH based on configuration from CBS Extracting config related tests to separate suit since they do not share common setup and teardown. Small improvements in existing test for ad-hoc logging level change using rest endpoint. Change-Id: I0b81680cc68cd210aad01b87f84856200cb4b88b Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk --- tests/dcaegen2/prh-testcases/prh_tests.robot | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'tests/dcaegen2/prh-testcases/prh_tests.robot') diff --git a/tests/dcaegen2/prh-testcases/prh_tests.robot b/tests/dcaegen2/prh-testcases/prh_tests.robot index 43d31885..4e387b91 100644 --- a/tests/dcaegen2/prh-testcases/prh_tests.robot +++ b/tests/dcaegen2/prh-testcases/prh_tests.robot @@ -8,18 +8,10 @@ Test Timeout 2 minutes Library resources/PrhLibrary.py Resource resources/prh_sessions.robot Resource resources/prh_library.robot -Resource resources/prh_config_tests.robot *** Variables *** ${TEST_CASES_DIR} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets -${DMAAP_SIMULATOR_SETUP_URL} http://${DMAAP_SIMULATOR_SETUP} -${AAI_SIMULATOR_SETUP_URL} http://${AAI_SIMULATOR_SETUP} -${CONSUL_SETUP_URL} http://${CONSUL_SETUP} -${PRH_SETUP_URL} http://${PRH_SETUP} -${TRACE_LOG_LEVEL_CONF} {"configuredLevel":"TRACE","effectiveLevel":"TRACE"} -${WARN_LOG_LEVEL_CONF} {"configuredLevel":"WARN","effectiveLevel":"WARN"} - *** Test Cases *** BBS case event - attachment point [Documentation] PRH get from DMaaP valid event with valid attachment point @@ -63,16 +55,6 @@ BBS case event - Re-registration ${TEST_CASES_DIR}/re-registration PRH logging level change - [Documentation] PRH logging level change from WARN to TRACE + [Documentation] ad-hoc PRH logging level change using rest endpoint [Tags] PRH logging level Verify change logging level - -CBS configuration forced refresh - [Documentation] It should be possible to force refresh PRH configuration from CBS - [Tags] PRH coniguration - Verify PRH configuration forced refresh - -CBS configuration scheduled refresh - [Documentation] PRH should pull for CBS configuration updates according to schedule - [Tags] PRH coniguration - Verify scheduled CBS config updates \ No newline at end of file -- cgit 1.2.3-korg