ci(main): notification-chaos가 네 suite를 한 번에 돌리고 결과를 확인한다
문제: notification-chaos는 같은 `:adapter:outbound:notification:test`를 필터를 바꿔 `--rerun`으로 두 번 돌린 뒤 「이름 붙인 suite가 정말 돌았나」를 본다. 두 번째 실행이 첫 실행의 결과 XML을 지워서 ChaosSecurity 결과가 없다고 매번 실패한다(run 52·63). 시험 자체는 두 번 다 통과했다. 고른 방법: 네 필터를 한 번의 실행에 넣고, 확인 step을 PostgreSQL 재실행 step보다 앞에 둔다. Gradle 시작과 시험 JVM 기동도 한 번 준다. 버린 대안: 실행마다 결과 폴더를 옮겨 두기. step이 셸 스크립트가 되고, 같은 태스크를 두 번 돌릴 이유가 없다. 위험·한계: 두 묶음이 같은 JVM에서 돈다. 묶음끼리 상태를 나누면 드러날 수 있는데, 그것은 이 job이 찾으려는 종류의 결함이다. 검증: runner main 수동 실행의 notification-chaos(이 PR 본문에 적는다).
This commit is contained in:
@@ -207,12 +207,13 @@ jobs:
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
|
||||
- uses: ./.gitea/actions/setup-java-gradle
|
||||
- name: Ambiguity and fault harness
|
||||
run: ./gradlew :adapter:outbound:notification:test --tests '*ChaosSecurity*' --tests '*CrossProviderContractSuite*' --rerun
|
||||
- name: Concurrency and rotation races
|
||||
run: ./gradlew :adapter:outbound:notification:test --tests '*ConcurrencyTest' --tests '*ProviderRuntimeStateTest' --rerun
|
||||
- name: Restart recovery and lease fencing (real PostgreSQL)
|
||||
run: ./gradlew :adapter:outbound:persistence-jpa:jpaPlatformContractTest :adapter:outbound:persistence-jpa:jpaPlatformFailureTest
|
||||
# One invocation for the four suites. A second `test --rerun` deletes the first one's result
|
||||
# files, and the check below then finds no results for the suites that ran first.
|
||||
- name: Ambiguity and fault harness, concurrency and rotation races
|
||||
run: >-
|
||||
./gradlew :adapter:outbound:notification:test --rerun
|
||||
--tests '*ChaosSecurity*' --tests '*CrossProviderContractSuite*'
|
||||
--tests '*ConcurrencyTest' --tests '*ProviderRuntimeStateTest'
|
||||
# A filter that matches nothing passes. Each filter above names classes that exist today; if
|
||||
# one is renamed the job fails rather than quietly stops covering it.
|
||||
- name: Every named suite actually ran
|
||||
@@ -223,6 +224,8 @@ jobs:
|
||||
exit 1
|
||||
}
|
||||
done
|
||||
- name: Restart recovery and lease fencing (real PostgreSQL)
|
||||
run: ./gradlew :adapter:outbound:persistence-jpa:jpaPlatformContractTest :adapter:outbound:persistence-jpa:jpaPlatformFailureTest
|
||||
|
||||
# Advisory probes for the next JPA, Hibernate and PostgreSQL majors. The targets are not resolvable
|
||||
# yet, so each records NOT_EXECUTABLE with its reason instead of implying compatibility evidence.
|
||||
|
||||
Reference in New Issue
Block a user