瀏覽代碼

[oozie] Fix workflow streaming XML generation test

Romain Rigaux 12 年之前
父節點
當前提交
f81f6b2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      apps/oozie/src/oozie/tests.py

+ 2 - 2
apps/oozie/src/oozie/tests.py

@@ -756,7 +756,7 @@ class TestEditor(OozieMockBase):
         "mapper": "MyMapper",
         "reducer": "MyReducer",
         "files": '["my_file"]',
-        "archives":'["my_archive"]',
+        "archives":'[{"dummy":"","name":"my_archive"}]',
     })
     Link(parent=action1, child=self.wf.end, name="ok").save()
 
@@ -772,7 +772,7 @@ class TestEditor(OozieMockBase):
                 <reducer>MyReducer</reducer>
             </streaming>
             <file>my_file#my_file</file>
-            <archive>my_archive</archive>
+            <archive>my_archive#my_archive</archive>
         </map-reduce>
         <ok to="end"/>
         <error to="kill"/>