Sfoglia il codice sorgente

[oozie] Fix workflow streaming XML generation test

Romain Rigaux 12 anni fa
parent
commit
f81f6b2
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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"/>