diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 62a7243..3d6188d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,7 +11,7 @@ permissions: jobs: analyze: - name: Analyze + if: ${{ github.run_number != 1 }} runs-on: ubuntu-latest permissions: actions: read diff --git a/logging/src/test/java/org/creekservice/internal/observability/logging/structured/JsonLogEntryFormatterTest.java b/logging/src/test/java/org/creekservice/internal/observability/logging/structured/JsonLogEntryFormatterTest.java index 90e7826..fcdee4b 100644 --- a/logging/src/test/java/org/creekservice/internal/observability/logging/structured/JsonLogEntryFormatterTest.java +++ b/logging/src/test/java/org/creekservice/internal/observability/logging/structured/JsonLogEntryFormatterTest.java @@ -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: