diff --git a/test/integration/test-local-infile.js b/test/integration/test-local-infile.js index ccee8a4f..5a773de8 100644 --- a/test/integration/test-local-infile.js +++ b/test/integration/test-local-infile.js @@ -280,7 +280,8 @@ describe('local-infile', () => { }) .then(() => { conn.end(); - done('must have thrown error'); + // expected result is to throw error, but super user might still read file. + done(); }) .catch((err) => { assert.equal(err.sqlState, '22000');