File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -596,6 +596,9 @@ void testBug104954() throws Exception {
596
596
597
597
this .rs = testStmt .executeQuery ("SELECT DATABASE()" );
598
598
assertTrue (this .rs .next ());
599
+ if (isServerRunningOnWindows ()) {
600
+ db = db .toLowerCase ();
601
+ }
599
602
assertEquals (db , this .rs .getString (1 ));
600
603
assertFalse (this .rs .next ());
601
604
}
Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ public void testLocalInfileWithUrl() throws Exception {
502
502
loadStmt .execute ("LOAD DATA LOCAL INFILE 'foo:///' INTO TABLE testLocalInfileWithUrl" + charset );
503
503
} catch (SQLException sqlEx ) {
504
504
assertTrue (sqlEx .getMessage () != null );
505
- assertTrue (sqlEx .getMessage ().indexOf ("FileNotFoundException" ) != -1 );
505
+ assertTrue (sqlEx .getMessage ().indexOf (isServerRunningOnWindows () ? "IOException" : "FileNotFoundException" ) != -1 );
506
506
}
507
507
}
508
508
You can’t perform that action at this time.
0 commit comments