Skip to content

Commit

Permalink
Tests: Fix discovery test (apache#1695)
Browse files Browse the repository at this point in the history
  • Loading branch information
radtriste authored Sep 11, 2023
1 parent 1068c32 commit ee5de39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/features/kogito-swf-devmode.feature
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ Feature: Serverless Workflow devmode images

Scenario: Verify if container starts in devmode with service discovery property
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 |
| SCRIPT_DEBUG | true |
| MAVEN_ARGS_APPEND | -Dkogito.dataindex.ws.url=${knative:services.v1.serving.knative.dev/namespace1/test2} |
Then check that page is served
| property | value |
| port | 8080 |
Expand All @@ -145,4 +145,4 @@ Feature: Serverless Workflow devmode images

Scenario: Verify if container have the KOGITO_CODEGEN_PROCESS_FAILONERROR env set to false
When container is started with command bash
Then run sh -c 'echo $KOGITO_CODEGEN_PROCESS_FAILONERROR' in container and immediately check its output for false
Then run sh -c 'echo $KOGITO_CODEGEN_PROCESS_FAILONERROR' in container and immediately check its output for false

0 comments on commit ee5de39

Please sign in to comment.