Skip to content

Commit

Permalink
Fix flaky test (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
big-andy-coates authored Apr 21, 2023
1 parent 2c763a6 commit 488fa4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
analyze:
name: Analyze
if: ${{ github.run_number != 1 }}
runs-on: ubuntu-latest
permissions:
actions: read
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ void shouldThrowIfMaxDepthExceeded() {
assertThat(e.getMessage(), is("Max depth of 8 exceeded"));
}

@SetSystemProperty(key = JsonLogEntryFormatter.MAX_DEPTH_PROP, value = "8")
@Test
void shouldNotThrowIfMaxDepthMatched() {
// Given:
Expand Down

0 comments on commit 488fa4c

Please sign in to comment.