Author: khorgath
Date: Fri Mar 28 23:23:29 2014
New Revision: 1582906

URL: http://svn.apache.org/r1582906
Log:
HIVE-6597 : WebHCat E2E tests doAsTests_6 and doAsTests_7 need to be updated 
(Deepesh Khandelwal via Eugene Koifman & Sushanth Sowmyan) (backport to 0.13)

Modified:
    hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/doas.conf

Modified: 
hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/doas.conf
URL: 
http://svn.apache.org/viewvc/hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/doas.conf?rev=1582906&r1=1582905&r2=1582906&view=diff
==============================================================================
--- hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/doas.conf 
(original)
+++ hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/doas.conf 
Fri Mar 28 23:23:29 2014
@@ -107,9 +107,9 @@ $cfg = 
              #this should fail when using StorageBasedAuthorizationProvider
      'num' => 6,
      'method' => 'GET',
-     'url' => 
':TEMPLETON_URL:/templeton/v1/ddl/database/default/table/:UNAME:_doastab2/partition?user.name=:UNAME:?doAs=:DOAS:',
+     'url' => 
':TEMPLETON_URL:/templeton/v1/ddl/database/default/table/:UNAME:_doastab2/partition?user.name=:UNAME:&doAs=:DOAS:',
      'status_code' => 500,
-     'json_field_substr_match' => {'error' => 'FAILED: AuthorizationException 
java\.security\.AccessControlException: action READ not permitted on path .* 
for user :UNAME:\?doAs=:DOAS:'},
+     'json_field_substr_match' => {'error' => 'FAILED: AuthorizationException 
java\.security\.AccessControlException: action READ not permitted on path .* 
for user :DOAS:'},
     },
   
     {
@@ -118,7 +118,7 @@ $cfg = 
      'method' => 'DELETE',
      'url' => 
':TEMPLETON_URL:/templeton/v1/ddl/database/default/table/:UNAME:_doastab2?user.name=:UNAME:&doAs=:DOAS:',
      'status_code' => 500,
-     'json_field_substr_match' => {'error' => 'Authorization 
failed:java\.security\.AccessControlException: action WRITE not permitted on 
path .* for user :DOAS:'},
+     'json_field_substr_match' => {'error' => 
'java\.security\.AccessControlException: action WRITE not permitted on path .* 
for user :DOAS:'},
     },
     {
              #descbe the table....


Reply via email to