mirror of https://github.com/apache/nifi.git
NIFI-5917 Fix TestSelectHiveQL.testNoTimeLimit
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #3237.
This commit is contained in:
parent
1330b92cfa
commit
595a2decc6
|
@ -134,7 +134,7 @@ public class TestSelectHiveQL {
|
|||
invokeOnTrigger(QUERY_WITH_EL, true, "Avro");
|
||||
|
||||
final List<ProvenanceEventRecord> provenanceEvents = runner.getProvenanceEvents();
|
||||
assertEquals(2, provenanceEvents.size());
|
||||
assertEquals(3, provenanceEvents.size());
|
||||
|
||||
final ProvenanceEventRecord provenance0 = provenanceEvents.get(0);
|
||||
assertEquals(ProvenanceEventType.FORK, provenance0.getEventType());
|
||||
|
@ -142,6 +142,9 @@ public class TestSelectHiveQL {
|
|||
final ProvenanceEventRecord provenance1 = provenanceEvents.get(1);
|
||||
assertEquals(ProvenanceEventType.FETCH, provenance1.getEventType());
|
||||
assertEquals("jdbc:derby:target/db;create=true", provenance1.getTransitUri());
|
||||
|
||||
final ProvenanceEventRecord provenance2 = provenanceEvents.get(2);
|
||||
assertEquals(ProvenanceEventType.FORK, provenance2.getEventType());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ public class TestSelectHive3QL {
|
|||
invokeOnTrigger(QUERY_WITH_EL, true, "Avro");
|
||||
|
||||
final List<ProvenanceEventRecord> provenanceEvents = runner.getProvenanceEvents();
|
||||
assertEquals(2, provenanceEvents.size());
|
||||
assertEquals(3, provenanceEvents.size());
|
||||
|
||||
final ProvenanceEventRecord provenance0 = provenanceEvents.get(0);
|
||||
assertEquals(ProvenanceEventType.FORK, provenance0.getEventType());
|
||||
|
@ -142,6 +142,9 @@ public class TestSelectHive3QL {
|
|||
final ProvenanceEventRecord provenance1 = provenanceEvents.get(1);
|
||||
assertEquals(ProvenanceEventType.FETCH, provenance1.getEventType());
|
||||
assertEquals("jdbc:derby:target/db;create=true", provenance1.getTransitUri());
|
||||
|
||||
final ProvenanceEventRecord provenance2 = provenanceEvents.get(2);
|
||||
assertEquals(ProvenanceEventType.FORK, provenance2.getEventType());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue