Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0c52fa4

Browse filesBrowse files
committed
mybatis#101: Don't insert performance data on CI
1 parent f487eab commit 0c52fa4
Copy full SHA for 0c52fa4

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Open diff view settings
Collapse file

‎src/test/java/org/apache/ibatis/submitted/collection_injection/PropertyVsConstructorPerformanceTest.java‎

Copy file name to clipboardExpand all lines: src/test/java/org/apache/ibatis/submitted/collection_injection/PropertyVsConstructorPerformanceTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
import static org.assertj.core.api.Assertions.assertThat;
3737

38+
@Disabled // should not run in pipeline as this is a performance test
3839
class PropertyVsConstructorPerformanceTest {
3940

4041
private static SqlSessionFactory sqlSessionFactory;
@@ -68,7 +69,6 @@ static void warmup() {
6869
}
6970

7071
@Test
71-
@Disabled
7272
void runPerformanceTest() {
7373
final Random random = new Random();
7474
final long iterations = 1_000;
Collapse file

‎src/test/resources/org/apache/ibatis/submitted/collection_injection/create_db.sql‎

Copy file name to clipboardExpand all lines: src/test/resources/org/apache/ibatis/submitted/collection_injection/create_db.sql
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
-- limitations under the License.
1515
--
1616

17+
drop table defect if exists;
18+
drop table furniture if exists;
1719
drop table room if exists;
1820
drop table house if exists;
19-
drop table furniture if exists;
2021

2122
create table house (
2223
id int not null primary key,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.