Testing Glob patterns in incoming permissions configuration #198
Annotations
4 errors and 4 warnings
IncomingPermissionsPathMatchingTest.echo should allow echo2 to access 'prefix' endpoint on correct prefix path():
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/permissions/IncomingPermissionsPathMatchingTest.kt#L113
java.lang.AssertionError:
Expecting actual:
Response{protocol=http/1.1, code=503, message=Service Unavailable, url=http://localhost:33020/prefix}
to match given predicate.
You can use 'matches(Predicate p, String description)' to have a better error message
For example:
assertThat(player).matches(p -> p.isRookie(), "is rookie");
will give an error message looking like:
Expecting actual:
player
to match 'is rookie' predicate
|
IncomingPermissionsPathMatchingTest.echo should allow echo2 to access 'path' endpoint on exact path():
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/permissions/IncomingPermissionsPathMatchingTest.kt#L102
java.lang.AssertionError:
Expecting actual:
Response{protocol=http/1.1, code=503, message=Service Unavailable, url=http://localhost:33020/path}
to match given predicate.
You can use 'matches(Predicate p, String description)' to have a better error message
For example:
assertThat(player).matches(p -> p.isRookie(), "is rookie");
will give an error message looking like:
Expecting actual:
player
to match 'is rookie' predicate
|
IncomingPermissionsPathMatchingTest.echo should allow echo2 to access 'regex' endpoint on correct regex path():
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/permissions/IncomingPermissionsPathMatchingTest.kt#L130
java.lang.AssertionError:
Expecting actual:
Response{protocol=http/1.1, code=503, message=Service Unavailable, url=http://localhost:33020/regex/1/segment}
to match given predicate.
You can use 'matches(Predicate p, String description)' to have a better error message
For example:
assertThat(player).matches(p -> p.isRookie(), "is rookie");
will give an error message looking like:
Expecting actual:
player
to match 'is rookie' predicate
|
IncomingPermissionsPathMatchingTest.echo should allow echo2 to access endpoints for matched Glob patterns in the 'paths' field():
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/permissions/IncomingPermissionsPathMatchingTest.kt#L156
java.lang.AssertionError:
Expecting actual:
Response{protocol=http/1.1, code=503, message=Service Unavailable, url=http://localhost:33020/api/products}
to match given predicate.
You can use 'matches(Predicate p, String description)' to have a better error message
For example:
assertThat(player).matches(p -> p.isRookie(), "is rookie");
will give an error message looking like:
Expecting actual:
player
to match 'is rookie' predicate
|
flaky_test
The following actions uses node12 which is deprecated and will be forced to run on node16: mikepenz/action-junit-report@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
flaky_test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, gradle/wrapper-validation-action@v1, actions/setup-java@v3, actions/cache@v3, mikepenz/action-junit-report@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
flaky_test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
flaky_test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|