Skip to content

Commit

Permalink
other(CI): Add skipAfterFailure flag to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ztefanie committed Feb 10, 2025
1 parent 03689d6 commit b28999d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/TEST_FEATURE_BRANCH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: npm install --global element-templates-cli

- name: Build Connectors
run: mvn --batch-mode clean test -PcheckFormat
run: mvn --batch-mode clean test -PcheckFormat -Dsurefire.skipAfterFailureCount=1

- name: Lint Dockerfile - connector-runtime
uses: hadolint/hadolint-action@v3.1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;

import com.fasterxml.jackson.core.JsonProcessingException;
Expand Down Expand Up @@ -65,6 +66,7 @@ void feelDeserializer_deserializeNestedMap() throws JsonProcessingException {

// when
TargetTypeObject targetType = mapper.readValue(json, TargetTypeObject.class);
assertFalse(true);

// then
assertThat(targetType.stubObject.props.size()).isEqualTo(1);
Expand Down

0 comments on commit b28999d

Please sign in to comment.