Skip to content

Commit

Permalink
test: DbMultiSessionTest.limit(): changed to RepeatedTest
Browse files Browse the repository at this point in the history
  • Loading branch information
hishidama committed Jan 24, 2024
1 parent 20c2ef9 commit 7813436
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.atomic.AtomicBoolean;

import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;

Expand All @@ -31,7 +32,7 @@ class DbMultiSessionTest extends DbTestTableTester {
// TODO 最大接続数は、実行環境(tsurugidbの構成定義ファイルの内容)によって変わるので、本当はDBサーバーから取得したい
private static final int EXPECTED_SESSION_SIZE = getSystemProperty("tsurugi.dbtest.expected.session.size", 104);

@Test
@RepeatedTest(10)
@DisabledIfEnvironmentVariable(named = "ICEAXE_DBTEST_DISABLE", matches = ".*DbMultiSessionTest-limit.*")
void limit() throws Exception {
closeStaticSession();
Expand Down

0 comments on commit 7813436

Please sign in to comment.