Skip to content

Commit

Permalink
ci: set AWS_REGION in flaky test finder (#1563)
Browse files Browse the repository at this point in the history
(cherry picked from commit 13bbcae)
  • Loading branch information
MikeDombo authored and junfuchen99 committed Feb 2, 2024
1 parent 12e9a55 commit 4d7e7ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/flakeFinder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
pip3 -q install agithub &&
python3 .github/scripts/flake.py --cmd "mvn -ntp -U verify" -i 10 -ff --token "${{ github.token }}"
--out-dir "failed_tests/"
env:
AWS_REGION: us-west-2
- name: Upload Errors
uses: actions/[email protected]
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void GIVEN_mock_service_logger_WHEN_file_size_limit_reached_THEN_rollover() thro
logRandomMessages(greengrassLogger, 525, LogFormat.TEXT);
// Rollover is guarded by ch.qos.logback.core.util.SimpleInvocationGate so that it's not invoked too soon/often
// This is the minimum delay since startup for it to allow log rollover.
Thread.sleep(SimpleInvocationGate.DEFAULT_INCREMENT);
Thread.sleep(SimpleInvocationGate.DEFAULT_INCREMENT.getMilliseconds());
componentLogger.atInfo().log(); // log once more to trigger roll over
greengrassLogger.atInfo().log(); // log once more to trigger roll over

Expand Down

0 comments on commit 4d7e7ac

Please sign in to comment.