浏览代码

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

Erick Tryzelaar 10 年之前
父节点
当前提交
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'))