Skip to content

fix error list related type errors #252

fix error list related type errors

fix error list related type errors #252

Triggered via pull request October 3, 2024 16:05
Status Failure
Total duration 1m 47s
Artifacts

test_and_lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 2 warnings
EOPATest.testEOPAEvaluateBatchFallback(): src/test/java/com/styra/opa/EOPATest.java#L184
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: OPA error in batch response (fallback mode)>
EOPATest.testEOPAEvaluateBatchMixedReject(): src/test/java/com/styra/opa/EOPATest.java#L258
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
OPATest.testOPAEvaluateBatchFallback(): src/test/java/com/styra/opa/OPATest.java#L550
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: OPA error in batch response (fallback mode)>
OPATest.testLatencyMeasurement(): src/test/java/com/styra/opa/OPATest.java#L292
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/echo]' succeeded, but OPA did not reply with a result>
OPATest.testOPAWithoutInput(): src/test/java/com/styra/opa/OPATest.java#L224
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/hello]' succeeded, but OPA did not reply with a result>
OPATest.testOPAEvaluateBatchFallbackAutodetect(): src/test/java/com/styra/opa/OPATest.java#L584
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: OPA error in batch response (fallback mode)>
OPATest.testObjectRoundtripDeferred(): src/test/java/com/styra/opa/OPATest.java#L495
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/echo]' succeeded, but OPA did not reply with a result>
OPATest.testOPAEvaluateBatchFallbackMixed(): src/test/java/com/styra/opa/OPATest.java#L627
org.opentest4j.AssertionFailedError: expected: <false> but was: <true>
OPATest.testObjectRoundtrip(): src/test/java/com/styra/opa/OPATest.java#L370
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/echo]' succeeded, but OPA did not reply with a result>
OPATest.testOPAEchoWithCustomClient(): src/test/java/com/styra/opa/OPATest.java#L269
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/echo]' succeeded, but OPA did not reply with a result>
OPATest.testOPACheck(): src/test/java/com/styra/opa/OPATest.java#L179
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/user_is_alice]' succeeded, but OPA did not reply with a result>
OPATest.testOPAHello(): src/test/java/com/styra/opa/OPATest.java#L161
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/hello]' succeeded, but OPA did not reply with a result>
OPATest.testObjectRoundtripWithTypeChange(): src/test/java/com/styra/opa/OPATest.java#L416
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/makeAlternateSampleClass]' succeeded, but OPA did not reply with a result>
OPATest.testOPANumeric(): src/test/java/com/styra/opa/OPATest.java#L209
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/input_x_times_2]' succeeded, but OPA did not reply with a result>
OPATest.testOPAEcho(): src/test/java/com/styra/opa/OPATest.java#L243
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/echo]' succeeded, but OPA did not reply with a result>
OPATest.testLatencyMeasurementDefaults(): src/test/java/com/styra/opa/OPATest.java#L327
org.opentest4j.AssertionFailedError: expected: <null> but was: <com.styra.opa.OPAException: executing policy at 'Optional[policy/echo]' succeeded, but OPA did not reply with a result>
test_and_lint
Process completed with exit code 1.
test_and_lint
This job uses deprecated functionality from the 'gradle/gradle-build-action' action. Consult the Job Summary for more details.
test_and_lint
The following actions use a deprecated Node.js version and will be forced to run on node20: Juuxel/publish-checkstyle-report@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/