소스 검색

HUE-2436 [pig] Pig hadoop tests require a superuser account

Erick Tryzelaar 11 년 전
부모
커밋
7c2abee
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      apps/pig/src/pig/tests.py

+ 3 - 1
apps/pig/src/pig/tests.py

@@ -192,7 +192,9 @@ class TestWithHadoop(OozieBase):
 
   def setUp(self):
     super(TestWithHadoop, self).setUp()
-    self.c = make_logged_in_client(is_superuser=False)
+    # FIXME (HUE-2562): The tests unfortunately require superuser at the
+    # moment, but should be rewritten to not need it.
+    self.c = make_logged_in_client(is_superuser=True)
     grant_access("test", "test", "pig")
     self.user = User.objects.get(username='test')
     self.c.post(reverse('pig:install_examples'))