mirror of https://github.com/apache/nifi.git
NIFI-662: Unit test expects \n when it should expect System.lineSeparator()
This commit is contained in:
parent
096ca61e25
commit
089897190c
|
@ -22,8 +22,6 @@ import org.apache.nifi.util.TestRunners;
|
|||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
|
@ -39,16 +37,12 @@ import static org.junit.Assert.assertTrue;
|
|||
*
|
||||
*/
|
||||
public class TestExecuteStreamCommand {
|
||||
|
||||
private static Logger LOGGER;
|
||||
|
||||
@BeforeClass
|
||||
public static void init() {
|
||||
System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "info");
|
||||
System.setProperty("org.slf4j.simpleLogger.showDateTime", "true");
|
||||
System.setProperty("org.slf4j.simpleLogger.log.nifi.processors.standard.ExecuteStreamCommand", "debug");
|
||||
System.setProperty("org.slf4j.simpleLogger.log.nifi.processors.standard.TestExecuteStreamCommand", "debug");
|
||||
LOGGER = LoggerFactory.getLogger(TestExecuteStreamCommand.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue