// verify unsafe splits happen when splitting on a pipe
@Test
public void testSplitOnNonSafeOperations2()
{
Tap source = new Hfs( new TextLine( new Fields( "offset", "line" ) ), "foo" );
Tap sink1 = new Hfs( new TextLine(), "foo/split1", true );
Tap sink2 = new Hfs( new TextLine(), "foo/split2", true );
Tap sink3 = new Hfs( new TextLine(), "foo/split3", true );
Pipe pipe = new Pipe( "split" );
// this operation is not safe
pipe = new Each( pipe, new Fields( "line" ), new TestFunction( new Fields( "ignore" ), new Tuple( 1 ), false ), new Fields( "line" ) );