Bug 4922 Disable out of date test 85/34285/2
authorRyan Goulding <ryandgoulding@gmail.com>
Mon, 8 Feb 2016 21:47:59 +0000 (16:47 -0500)
committerLuis Gomez <ecelgp@gmail.com>
Mon, 8 Feb 2016 22:41:42 +0000 (14:41 -0800)
This test fails due to change in the way authentication is disabled in
the Beryllium release.  In prior releases, authentication could be disabled
by adding "authEnabled=false" to "etc/org.opendaylight.aaa.authn.cfg". Now,
authentication is disabled by editing shiro.ini and changing:
"/** = authcBasic" to "/** = anon".

Because Shiro properties are not currently tracked through the config admin
service, disabling AAA requires a controller restart.  This test is removed
as it is out of date and no longer reflects how to disable authentication.
A new test is not added to this suite, as controller restart is required.

Change-Id: Ia745c6d722d6a843eac69f8f3998766a8ce48c5d
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
csit/suites/aaa/authn/010_Credential_Authentication.robot

index 62eba2c8ea290e6a0be3b4695160dce80b29b161..c7575f811ab32a0832c649bd9cc2b3eaf25216ab 100644 (file)
@@ -52,7 +52,10 @@ Revoke Token And Verify Transaction Fails
     Make REST Transaction    401    ${auth_token}
 
 Disable Authentication And Re-Enable Authentication
-    [Documentation]    Toggles authentication off and verifies that no login credentials are needed for REST transactions
+    [Documentation]    Toggles authentication off and verifies that no login credentials are needed for REST transactions.
+    ...    Test has been disabled due to the fact that this interface has changed.  Authentication is now disabled
+    ...    through modification of shiro.ini, which requires controller restart and is not suit for this test.
+    [Tags]    exclude
     Disable Authentication On Controller    ${ODL_SYSTEM_IP}
     Wait Until Keyword Succeeds    10s    1s    Make REST Transaction    200
     Enable Authentication On Controller    ${ODL_SYSTEM_IP}