testing: fixing a logic error in hadoop-internal

Signed-off-by: Joe Buck <jbbuck@gmail.com>