File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/test/java/org/apache/ibatis/submitted Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2009-2015 the original author or authors.
2
+ * Copyright 2009-2017 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -85,7 +85,7 @@ private void accessDB() {
85
85
try {
86
86
Thread .sleep (500 );
87
87
} catch (InterruptedException e ) {
88
- e . printStackTrace ( );
88
+ Assert . fail ( e . getMessage () );
89
89
}
90
90
} finally {
91
91
sqlSession1 .close ();
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2009-2015 the original author or authors.
2
+ * Copyright 2009-2017 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -42,7 +42,7 @@ public static void setUpBeforeClass() {
42
42
Reader reader = Resources .getResourceAsReader ("org/apache/ibatis/submitted/null_associations/create-schema-mysql.sql" );
43
43
runner .runScript (reader );
44
44
} catch (Exception ex ) {
45
- ex .printStackTrace ( );
45
+ Assert . fail ( ex .getMessage () );
46
46
}
47
47
}
48
48
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public static void setUpBeforeClass() {
43
43
Reader reader = Resources .getResourceAsReader ("org/apache/ibatis/submitted/overwritingproperties/create-schema-mysql.sql" );
44
44
runner .runScript (reader );
45
45
} catch (Exception ex ) {
46
- ex .printStackTrace ( );
46
+ Assert . fail ( ex .getMessage () );
47
47
}
48
48
}
49
49
You can’t perform that action at this time.
0 commit comments