Skip to content

Commit

Permalink
mybatis#101: Don't insert performance data on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
epochcoder committed Mar 18, 2024
1 parent f487eab commit 0c52fa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

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

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

private static SqlSessionFactory sqlSessionFactory;
Expand Down Expand Up @@ -68,7 +69,6 @@ static void warmup() {
}

@Test
@Disabled
void runPerformanceTest() {
final Random random = new Random();
final long iterations = 1_000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
-- limitations under the License.
--

drop table defect if exists;
drop table furniture if exists;
drop table room if exists;
drop table house if exists;
drop table furniture if exists;

create table house (
id int not null primary key,
Expand Down

0 comments on commit 0c52fa4

Please sign in to comment.