|
68 | 68 | type: string |
69 | 69 | required: false |
70 | 70 | default: "false" |
71 | | - enable-hapi-tests-quiescence: |
72 | | - description: "HAPI Testing (quiescence) Enabled" |
73 | | - type: string |
74 | | - required: false |
75 | | - default: "false" |
76 | 71 | enable-hapi-tests-iss: |
77 | 72 | description: "HAPI Testing (ISS) Enabled" |
78 | 73 | type: string |
@@ -548,7 +543,7 @@ jobs: |
548 | 543 | env: |
549 | 544 | LC_ALL: en.UTF-8 |
550 | 545 | LANG: en_US.UTF-8 |
551 | | - run: ${GRADLE_EXEC} hapiTestTimeConsuming && ${GRADLE_EXEC} hapiTestTimeConsumingSerial |
| 546 | + run: ${GRADLE_EXEC} hapiTestTimeConsuming && ${GRADLE_EXEC} hapiTestTimeConsumingSerial && ${GRADLE_EXEC} hapiTestQuiescence |
552 | 547 |
|
553 | 548 | - name: Publish HAPI Test (Time Consuming) Report |
554 | 549 | uses: step-security/publish-unit-test-result-action@7dff603bf17ef13dee847147bef8d7cd1728b566 # v2.22.0 |
@@ -653,73 +648,6 @@ jobs: |
653 | 648 | hedera-node/test-clients/build/**/*.pces |
654 | 649 | retention-days: 7 |
655 | 650 |
|
656 | | - hapi-tests-quiescence: |
657 | | - name: "HAPI Tests (Quiescence)" |
658 | | - if: ${{ inputs.enable-hapi-tests-quiescence == 'true' }} |
659 | | - runs-on: hl-cn-hapi-lin-lg |
660 | | - steps: |
661 | | - - name: Prepare Runner |
662 | | - uses: pandaswhocode/initialize-github-job@bfe0b1633012cee3033c757c7095d49c360e23a6 # v1.0.1 |
663 | | - with: |
664 | | - checkout: "true" |
665 | | - checkout-ref: "${{ inputs.ref }}" |
666 | | - checkout-fetch-depth: "1" |
667 | | - checkout-token: "${{ secrets.access-token }}" |
668 | | - setup-java: "true" |
669 | | - java-version: "${{ inputs.java-version }}" |
670 | | - java-distribution: "${{ inputs.java-distribution }}" |
671 | | - setup-gradle: "true" |
672 | | - gradle-cache-read-only: "false" |
673 | | - setup-node: "true" |
674 | | - node-version: "${{ inputs.node-version }}" |
675 | | - |
676 | | - - name: HAPI Testing (Quiescence) |
677 | | - id: gradle-hapi-quiescence |
678 | | - env: |
679 | | - LC_ALL: en.UTF-8 |
680 | | - LANG: en_US.UTF-8 |
681 | | - run: ${GRADLE_EXEC} hapiTestQuiescence --no-daemon --no-build-cache --rerun-tasks |
682 | | - |
683 | | - - name: Publish HAPI Test (Quiescence) Report |
684 | | - uses: step-security/publish-unit-test-result-action@7dff603bf17ef13dee847147bef8d7cd1728b566 # v2.22.0 |
685 | | - if: ${{ !cancelled() }} |
686 | | - with: |
687 | | - check_name: "Node: HAPI Test (Quiescence) Results" |
688 | | - json_thousands_separator: "," |
689 | | - junit_files: "**/test-clients/build/test-results/testSubprocess/TEST-*.xml" |
690 | | - comment_mode: errors # only comment if we could not find or parse the JUnit XML files |
691 | | - |
692 | | - - name: Upload HAPI Test (Quiescence) Report Artifacts |
693 | | - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
694 | | - if: ${{ !cancelled() }} |
695 | | - with: |
696 | | - name: HAPI Test (Quiescence) Report |
697 | | - path: "**/test-clients/build/test-results/testSubprocess/TEST-*.xml" |
698 | | - retention-days: 7 |
699 | | - |
700 | | - - name: Upload HAPI Test (Quiescence) Network Logs |
701 | | - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
702 | | - if: ${{ inputs.enable-network-log-capture && steps.gradle-hapi-quiescence.conclusion == 'failure' && !cancelled() }} |
703 | | - with: |
704 | | - name: HAPI Test (Quiescence) Network Logs |
705 | | - path: | |
706 | | - hedera-node/test-clients/build/hapi-test/**/output/** |
707 | | - hedera-node/test-clients/build/hapi-test/*.log |
708 | | - hedera-node/test-clients/output/** |
709 | | - retention-days: 7 |
710 | | - |
711 | | - - name: Upload HAPI Test (Quiescence) Failure Artifacts |
712 | | - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
713 | | - if: ${{ steps.gradle-hapi-quiescence.conclusion == 'failure' && !cancelled() }} |
714 | | - with: |
715 | | - name: HAPI Test (Quiescence) Failure Artifacts |
716 | | - path: | |
717 | | - hedera-node/test-clients/build/**/*.blk.gz |
718 | | - hedera-node/test-clients/build/**/*.rcd.gz |
719 | | - hedera-node/test-clients/build/**/*.pb |
720 | | - hedera-node/test-clients/build/**/*.pces |
721 | | - retention-days: 7 |
722 | | - |
723 | 651 | hapi-tests-nd-reconnect: |
724 | 652 | name: "HAPI Tests (ND Reconnect)" |
725 | 653 | if: ${{ inputs.enable-hapi-tests-nd-reconnect == 'true' }} |
|
0 commit comments