mirror of https://github.com/apache/nifi.git
NIFI-6184: This closes #3413. Removed unnecessary test-jar dep from nifi-livy-processors causing race condition, added assertion to catch failures
Signed-off-by: Joe Witt <joewitt@apache.org>
This commit is contained in:
parent
da593a2e8e
commit
8572852bdf
|
@ -74,13 +74,6 @@
|
|||
<version>1.10.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.nifi</groupId>
|
||||
<artifactId>nifi-standard-processors</artifactId>
|
||||
<version>1.10.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
<type>test-jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-server</artifactId>
|
||||
|
|
|
@ -112,6 +112,7 @@ class ExecuteSparkInteractiveTestBase {
|
|||
runner.run();
|
||||
List<MockFlowFile> waitingFlowfiles = runner.getFlowFilesForRelationship(ExecuteSparkInteractive.REL_WAIT);
|
||||
while (!waitingFlowfiles.isEmpty()) {
|
||||
runner.assertTransferCount(ExecuteSparkInteractive.REL_FAILURE, 0);
|
||||
Thread.sleep(1000);
|
||||
runner.clearTransferState();
|
||||
runner.enqueue(code);
|
||||
|
|
Loading…
Reference in New Issue