The test case would fail due to a false positive if the query would be routed to a slave.
Created a test case that performs two LOAD DATA LOCAL INFILE statements in one query. Currently, the test will fail as the issue is not resolved.