Skip to content

Commit

Permalink
Fix bdd swf-devmode svc discovery (#1718)
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Zanini <[email protected]>
  • Loading branch information
ricardozanini authored Dec 22, 2023
1 parent 3f13986 commit 000d4eb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/features/kogito-swf-devmode.feature
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,18 @@ Feature: Serverless Workflow devmode images
| wait | 480 |
| expected_status_code | 200 |

Scenario: Verify if container starts in devmode with service discovery property
Scenario: Verify if container starts in devmode with service discovery enabled
When container is started with env
| variable | value |
| SCRIPT_DEBUG | true |
| MAVEN_ARGS_APPEND | -Dkogito.dataindex.ws.url=${knative:services.v1.serving.knative.dev/namespace1/test2} |
| variable | value |
| QUARKUS_DEVSERVICES_ENABLED | false |
Then check that page is served
| property | value |
| port | 8080 |
| path | /q/health/ready |
| wait | 480 |
| request_method | GET |
| expected_status_code | 200 |
And container log should contain Service Discovery has failed on property [kogito.dataindex.ws.url
And container log should contain kogito-addon-microprofile-config-service-catalog-extension

Scenario: Verify if container have the KOGITO_CODEGEN_PROCESS_FAILONERROR env set to false
When container is started with command bash
Expand Down

0 comments on commit 000d4eb

Please sign in to comment.