I’m seeing my test runs hang since I set my $EDITOR explicitly to vim.
@Test
public void testEdit() throws Exception {
System.getProperties().put("EDITOR", "/bin/cat");
Object out = StellarTest.run("TO_UPPER(SHELL_EDIT(foo))",
ImmutableMap.of("foo", "foo"), context);
Assert.assertEquals("FOO", out);
}
Seems to be hanging with output like
Running org.apache.metron.management.ShellFunctionsTest
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
Has anyone else seen this?