NIFI-4445 on fast machines the engine ran for 0 millis so the test needs to allow this case

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2296
This commit is contained in:
joewitt 2017-11-26 11:11:26 -05:00 committed by Matthew Burgess
parent 9766558cab
commit ecb9c5e929
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class ScriptedReportingTaskGroovyTest {
task.onTrigger context
def se = task.scriptEngine
// This script should store a variable called x with a map of stats to values
assertTrue se.x?.uptime > 0
assertTrue se.x?.uptime >= 0
task.offerScriptEngine(se)
}