mirror of https://github.com/apache/nifi.git
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:
parent
9766558cab
commit
ecb9c5e929
|
@ -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)
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue